面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11606343
json
{
  "response": {
    "fps": 59,
    "fps_avg": 58,
    "entities_count": 92202,
    "world_seed": 40004000,
    "world_size": 4000,
    "steam_id": "90286924447744009",
    "domain": null,
    "id": 11606343,
    "ip": "136.243.32.157",
    "port": 28010,
    "query": 28011,
    "project_id": null,
    "color": 0,
    "city": "Falkenstein",
    "description": "![[EU] Eagless 2x MONTHLY | SOLO/DUO/TRIO/QUAD | KIT | NO BP WIPE](https://i.imgur.com/chCl1iu.jpeg)\nWelcome to EAGLESS EU x2\r\n\r\nWebsite: \r\nwww.eagless-rust.com\r\n\r\nA balanced Rust experience built for competitive players who enjoy long-term progression and active gameplay.\r\n\r\nFeatures:\r\n• x2 Gather Rates\r\n• Monthly Map Wipe\r\n• No Blueprint Wipes\r\n• Max Team Size: 4\r\n• Kits System\r\n• Clans\r\n• Blueprint Share\r\n• Furnace Splitter\r\n• Recycler Speed\r\n• Quick Loot Management\r\n• Improved Stack Sizes\r\n• Better Loot Tables\r\n• Active Administration\r\n• Fair Play Environment\r\n\r\nWhy Play Here?\r\n• Keep your blueprints forever\r\n• No pay-to-win mechanics\r\n• Active and helpful admins\r\n• Optimized performance\r\n• Friendly EU community\r\n\r\nJoin our Discord:\r\nhttps://discord.gg/qvyy3wEGFA\r\n\r\nGood luck survivors!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1781026471,
    "last_online": 1781337025,
    "icon": null,
    "name": "[EU] Eagless 2x MONTHLY | SOLO/DUO/TRIO/QUAD | KIT | NO BP WIPE",
    "connect": "136.243.32.157:28010",
    "request": "136.243.32.157:28011",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779915468,
    "last_update": 1781337025,
    "banned": false,
    "wipe": 1781026614,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5199,
    "language": "de",
    "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/11606343");
$data = json_decode($json, true);
var_dump($data);