Huwhyte oldschool HoE+ #5, NoVA, no EDARs/QPs 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/560622
json
{
  "response": {
    "steam_id": "90283563880307733",
    "domain": null,
    "id": 560622,
    "ip": "5.161.149.88",
    "port": 7779,
    "query": 27017,
    "color": 0,
    "city": "Ashburn",
    "description": "",
    "game": 232090,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775389331,
    "score": null,
    "last_online": 1777238423,
    "icon": null,
    "name": "Huwhyte oldschool HoE+ #5, NoVA, no EDARs/QPs",
    "connect": "5.161.149.88:7779",
    "request": "5.161.149.88:27017",
    "map": "KF-KF1-HillBillyHorror",
    "gamemode": "Killing Floor 2",
    "version": "1150",
    "numplayers": 5,
    "maxplayers": 6,
    "bots": 5,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1666643728,
    "last_update": 1777238423,
    "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": 46,
    "language": "en",
    "parked": false,
    "app": {
      "id": 51,
      "steam_id": 232090,
      "name": "Killing Floor 2",
      "url": "killing-floor-2"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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