面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11510746
json
{
  "response": {
    "fps": 15,
    "fps_avg": 15,
    "entities_count": 76453,
    "world_seed": 55555,
    "world_size": 3750,
    "steam_id": "90286581377832963",
    "domain": null,
    "id": 11510746,
    "ip": "31.59.131.205",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Bursa",
    "description": "![[TR] SAKA 3X | Max 4 Yeni Başlayanlar](https://files.facepunch.com/Alistair/122/04/2025/6J27/jungleUpdate_biome_02.jpg)\n\r\n>Team Limit is 4 Players and Alliances are Forbidden! \r\n>Macro, Script and Cheat Usage is Prohibited! \r\n>SkinBox and Discord Kit are Free to Use. \r\n>Junk Items Have Been Removed from Loots. \r\n>SAM Site Authorization System is Available. \r\n>Trade System is Available. \r\n>MiniCopters Spawn on Roads. \r\n>There is No Night on the Server. \r\n>Clan Auto Authorization and BluePrint Sharing System is Available.\r\n\r\n www.zulabank.com | discord.gg/saka |",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780579480,
    "last_online": 1780573834,
    "icon": null,
    "name": "[TR] SAKA 3X | Max 4 Yeni Başlayanlar",
    "connect": "31.59.131.205:28015",
    "request": "31.59.131.205:28017",
    "map": "www.zulabank.com",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "TR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779353832,
    "last_update": 1780579480,
    "banned": false,
    "wipe": 1780503547,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11571,
    "language": "tr",
    "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/11510746");
$data = json_decode($json, true);
var_dump($data);