House Raja || Imperial Rajawae Nation 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/1568952
json
{
  "response": {
    "steam_id": 90282588790635540,
    "domain": null,
    "id": 1568952,
    "ip": "164.152.122.45",
    "port": 30000,
    "query": 30001,
    "color": 0,
    "city": "Dallas",
    "description": "",
    "game": 383120,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776413618,
    "score": null,
    "last_online": 1778586048,
    "icon": null,
    "name": "House Raja || Imperial Rajawae Nation",
    "connect": "164.152.122.45:30000",
    "request": "164.152.122.45:30001",
    "map": null,
    "gamemode": "Empyrion - Galactic Survival",
    "version": "v1.15",
    "numplayers": 0,
    "maxplayers": 20,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1697747658,
    "last_update": 1778586048,
    "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": 72,
    "language": "en",
    "parked": false,
    "app": {
      "id": 140,
      "steam_id": 383120,
      "name": "Empyrion - Galactic Survival",
      "url": "empyrion-galactic-survival"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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