面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11606309
json
{
  "response": {
    "fps": 59,
    "fps_avg": 59,
    "entities_count": 71801,
    "world_seed": 1337,
    "world_size": 3800,
    "steam_id": "90286548841638928",
    "domain": null,
    "id": 11606309,
    "ip": "46.203.182.24",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Istanbul",
    "description": "![[TR/EU] Rust Türkiye 3X Quad Yakında discord.gg/rustturkiye](https://i.ibb.co/h1HTqCTy/ankaa.png)\nRUST TURKIYE | Sunucuya Hoşgeldiniz\r\n\r\n Sunucu Kuralları Ve Özellikleri :\r\n・Hile ve Makro Kullanımı Kesinlikle Yasaktır!\r\n・Maximum 5 Kişi ve İttifak Yasaktır!\r\n・Klan Otomatik Yetkilendirme Sistemi Ve BluePrint Paylaşımı.\r\n・Discord Sunucumuza Katılarak Skinbox,Trade Ve Discord Kiti Alabilirsiniz.\r\n・Teleport, kit, trade, outpost ve skinbox komutları vardır.\r\n・Çöp İtem Çıkmaz Loot Dengelidir.\r\n・Sürekli Gündüz \r\n・discord.gg/rustturkiye",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780219384,
    "last_online": 1780570834,
    "icon": null,
    "name": "[TR/EU] Rust Türkiye 3X Quad Yakında discord.gg/rustturkiye",
    "connect": "46.203.182.24:28015",
    "request": "46.203.182.24:28017",
    "map": "dc.gg/rustturkiye",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 2,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "TR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779915467,
    "last_update": 1780570834,
    "banned": false,
    "wipe": 1780035172,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5350,
    "language": "tr",
    "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/11606309");
$data = json_decode($json, true);
var_dump($data);