|GIWIG-Gaming|ClanServer,CustomMAPs,NoHighPing,GERMAN 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/6029280
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 6029280,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": null,
    "game": 240,
    "owner": 128289,
    "boosts": 1,
    "last_offline": 1759902821,
    "score": 0,
    "last_online": 1757256030,
    "icon": null,
    "name": "|GIWIG-Gaming|ClanServer,CustomMAPs,NoHighPing,GERMAN",
    "connect": null,
    "request": null,
    "map": "de_dust2",
    "gamemode": "Counter-Strike: Source",
    "version": null,
    "numplayers": 0,
    "maxplayers": 24,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1727448291,
    "last_update": 1759902821,
    "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": 1908,
    "language": "de",
    "parked": true,
    "app": {
      "id": 5,
      "steam_id": 240,
      "name": "Counter-Strike: Source",
      "url": "counter-strike-source"
    },
    "server_owner": {
      "username": "giwig_de",
      "avatar": "34139b57-d7fc-4123-997a-f00ef9703d96.jpg",
      "last_online": 1753626421
    },
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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