面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10556880
json
{
  "response": {
    "fps": 43,
    "fps_avg": 41,
    "entities_count": 86437,
    "world_seed": 44501,
    "world_size": 3500,
    "steam_id": "90286555689605145",
    "domain": null,
    "id": 10556880,
    "ip": "194.69.160.15",
    "port": 28035,
    "query": 28037,
    "color": 0,
    "city": "City of London",
    "description": "![BlackBird Rust PvE x10](https://i.imgur.com/vTwufmS.png)\nWelcome to BlackBird Rust | PvE Survival Server\r\n Explore, build, and survive without the fear of raids or killing.\r\n Play your way — focus on base building, trading, and community events.\r\n Active admins ensure fair play and a friendly environment.\r\n Bi-Weekly wipes | Map only | Force wipe backpacks and economics | Every 3 Months Skills and XP | Safe trading zones | Lag-free performance\r\n Join a growing community of survivors and thrive together!\r\n Hosted by: https://physgun.com",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780579479,
    "last_online": 1780574439,
    "icon": null,
    "name": "BlackBird Rust PvE x10",
    "connect": "194.69.160.15:28035",
    "request": "194.69.160.15:28037",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1762533027,
    "last_update": 1780579479,
    "banned": false,
    "wipe": 1779390545,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10527,
    "language": "en",
    "parked": false,
    "app": {
      "id": 252490,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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