面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11606293
json
{
  "response": {
    "fps": 15,
    "fps_avg": 15,
    "entities_count": 78327,
    "world_seed": 1603116473,
    "world_size": 3750,
    "steam_id": "90286578958825474",
    "domain": null,
    "id": 11606293,
    "ip": "213.146.165.129",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Bahçelievler",
    "description": "![[TR/EU] Istanbul Emek | Solo/Duo/Trio/Quad | Yeni Başlayan](https://i.hizliresim.com/6mkiur4.png)\nTakım Limiti: 4 Oyuncu. \r\n %50 daha düşük TC bakım maliyeti. \r\n Harita Boyutu: 3500 - 4000 \r\n Adminlerin oynaması yasaktır; sadece takip/kontrol amaçlı bulunurlar. \r\n 3. Parti yazılımlar yasaktır. \r\n Gelişmiş AntiCheat sistemi. \r\n Wipe Takvimi: \r\n • Harita Wipe: Her Cuma 18:00 \r\n • BP Wipe: Her ayın ilk Perşembesi 22:00. \r\n Report için F7 veya ticket açın. \r\n \r\n Team Limit: 4 Players \r\n %50 less TC upkeep cost \r\n Map Size: 3500 - 4000 \r\n Admins are not allowed to play; only monitor/control \r\n 3rd party software is forbidden. \r\n Advanced AntiCheat \r\n Wipe: \r\n • Map Every Fri 18.00 \r\n • BP First Thu of month 22.00 (GMT+3) \r\n Use F7 or ticket for reporting.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780542269,
    "last_online": 1780580438,
    "icon": null,
    "name": "[TR/EU] Istanbul Emek | Solo/Duo/Trio/Quad | Yeni Başlayan",
    "connect": "213.146.165.129:28015",
    "request": "213.146.165.129:28016",
    "map": "Istanbul Rust - FPS+ Harita",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "TR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779915466,
    "last_update": 1780580438,
    "banned": false,
    "wipe": 1780067167,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5324,
    "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/11606293");
$data = json_decode($json, true);
var_dump($data);