CS2 DUELS | 1v1 #195 [PL] — CYBERSHOKE.NET (ARENA MAPS) 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/9066206
json
{
  "response": {
    "steam_id": "85568392934498964",
    "domain": null,
    "id": 9066206,
    "ip": "54.38.195.146",
    "port": 28038,
    "query": 28038,
    "color": 0,
    "city": "Warsaw",
    "description": null,
    "game": 730,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776234116,
    "score": 0,
    "last_online": 1776345643,
    "icon": null,
    "name": "CS2 DUELS | 1v1 #195 [PL] — CYBERSHOKE.NET (ARENA MAPS)",
    "connect": "54.38.195.146:28038",
    "request": "54.38.195.146:28038",
    "map": "duels_aim_map",
    "gamemode": "Counter-Strike 2",
    "version": "1.41.4.1",
    "numplayers": 2,
    "maxplayers": 64,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "PL",
    "status": true,
    "votes": 0,
    "points": 33,
    "add_date": 1747040053,
    "last_update": 1776345643,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2049,
    "language": "pl",
    "parked": false,
    "app": {
      "id": 2,
      "steam_id": 730,
      "name": "Counter-Strike 2",
      "url": "counter-strike-2"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/9066206");
$data = json_decode($json, true);
var_dump($data);