面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10933835
json
{
  "response": {
    "fps": 162,
    "fps_avg": 154,
    "entities_count": 98875,
    "world_seed": 1607203202,
    "world_size": 4250,
    "steam_id": "90286627753815057",
    "domain": null,
    "id": 10933835,
    "ip": "24.156.98.17",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Sedona",
    "description": "![FaceFirst Events|SkillTree|NPCRaids](http://jivatown.com/images/rust_header_01.jpg)\nWipes 1st and 3rd Thursdays\r\nPVE Bi-Weekly 5X Resources Lots of server events.\r\nFREE FULL ACCESS PVE PLUGINS (no VIP needed):\r\n֎ Skill Tree: XP based character progression and buff system\r\n֎ Backpacks (Keep after death)\r\n֎ Personal Recycler\r\n֎ Airfield Event\r\n֎ Convoy Event\r\n֎ Arctic Base Event\r\n֎ Space Event\r\n֎ Satelite Dish Event\r\n֎ Water Event\r\n֎ Raidable NPC Bases: top tier version\r\n֎ Guarded Crates\r\n֎ Skin Box\r\n֎ Shop\r\n֎ Server Playtime Rewards\r\n֎ Shorter Nights, Longer Days\r\n֎ Vehicle License\r\n֎ Personal Mini\r\n֎ Personal Heli\r\n֎ Furnace Splitter\r\n֎ Quick Smelt\r\n֎ Zombies\r\n֎ Home Teleport\r\n֎ Moveable CCTV\r\n֎ Ganja\r\n֎ Faster Plant Growth\r\n֎ 5 min Hackable Crates\r\n֎ Increased Stack Sizes\r\n֎ Death Notes\r\n֎ Extended Workbench\r\n֎ True PVE w/ a purge the last day before wipe\r\n֎ Upall Building Upgrade\r\n\r\nTop of the line privately owned server hosted in Arizona.\r\nJoin our discord from web link below for support and suggestions.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780653862,
    "last_online": 1780672233,
    "icon": null,
    "name": "FaceFirst Events|SkillTree|NPCRaids",
    "connect": "24.156.98.17:28015",
    "request": "24.156.98.17:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1768486657,
    "last_update": 1780672233,
    "banned": false,
    "wipe": 1780616280,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4206,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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