-=312th=- DALLAS INNER ONLY *ACI* 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10620526
json
{
  "response": {
    "steam_id": "90285115586227213",
    "domain": null,
    "id": 10620526,
    "ip": "74.63.211.6",
    "port": 7781,
    "query": 7782,
    "color": 0,
    "city": "Dallas",
    "description": null,
    "game": 203290,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775435523,
    "score": 1,
    "last_online": 1777502411,
    "icon": null,
    "name": "-=312th=- DALLAS INNER ONLY *ACI*",
    "connect": "74.63.211.6:7781",
    "request": "74.63.211.6:7782",
    "map": "FLO_InnerHospital_EX",
    "gamemode": "America's Army: Proving Grounds",
    "version": "1.0.0.0",
    "numplayers": 30,
    "maxplayers": 44,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 116,
    "add_date": 1763326125,
    "last_update": 1777502411,
    "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": 1,
    "language": "en",
    "parked": false,
    "app": {
      "id": 75,
      "steam_id": 203290,
      "name": "America's Army: Proving Grounds",
      "url": "americas-army-proving-grounds"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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