面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/9405554
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 178073,
    "world_seed": 871044,
    "world_size": 4950,
    "steam_id": "90286734977576975",
    "domain": null,
    "id": 9405554,
    "ip": "168.100.161.195",
    "port": 32015,
    "query": 32016,
    "project_id": null,
    "color": 0,
    "city": "London",
    "description": "![EU GOM 15x Bi-weekly PVE Grumpy Old Man |Kits|Skins|BackPack|Sh](https://grumpyoldman.online/hosted/EU_Biweekly_15x.jpg)\nWelcome to Grumpy Old Man's 15x PVE Rust Server!\r\n\r\n Server Features:\r\n- bi-weekly : Accelerated gathering rates for fast-paced gameplay.\r\n\r\nModifications Include:\r\n1. Faster Smelt: Smelt ores quickly.\r\n2. Kits, BackPack, Shop, RaidableBase and way more\r\n3. SkinBox: Express yourself with different skins.\r\n4. Larger Workbench Radius: Expand your crafting territory.\r\n5. Faster Recycling: Recycle junk faster.\r\n6. Kits: Specialized kits for survival.\r\n\r\n Community Guidelines:\r\n- Zero Tolerance Policy: No racist or hateful talk.\r\n- Fair Play: No third-party programs allowed.\r\n\r\n Join Our Community:\r\nJoin our Discord for more info, full guidelines, and news: http://www.discord.gg/GrumpyOldMan\r\n\r\nRemember, the only thing grumpier than us is the bears. They really hate being hit with rocks. Welcome to the team, survivor!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778179986,
    "last_online": 1780950028,
    "icon": null,
    "name": "EU GOM 15x Bi-weekly PVE Grumpy Old Man |Kits|Skins|BackPack|Sh",
    "connect": "168.100.161.195:32015",
    "request": "168.100.161.195:32016",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 2,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1748203393,
    "last_update": 1780950028,
    "banned": false,
    "wipe": 1780596081,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1976,
    "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/9405554");
$data = json_decode($json, true);
var_dump($data);