JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11677401
json
{
  "response": {
    "fps": 37,
    "fps_avg": 37,
    "entities_count": 801086,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90286384732981279",
    "domain": null,
    "id": 11677401,
    "ip": "117.13.121.117",
    "port": 20201,
    "query": 20203,
    "color": 0,
    "city": "Tianjin",
    "description": "![小九PVE/新人/F1刷/养老/白嫖/礼包/畅玩/活动多](http://qungz.photo.store.qq.com/qun-qungz/V50fOonL1sJzeZ0Jtcru170oNj0RLrCx/V5bCQA2MDY5MTY2MTBSq7lo2e3HHA!!/800?w5=512&h5=256&rf=viewer_421)\n★★游戏商城★★★★★无限持久★★★★★突袭飞艇★★★★★动物农场★★ \r\n★★武装突袭★★★★★无限子弹★★★★★人物升级★★★★★高血僵尸★★ \r\n★★飞行背包★★★★★蓝图全解★★★★★物品秒造★★★★★召唤坦克★★ \r\n★★帮助页面★★★★★世界传送★★★★★超级倍伤★★★★★玩家刷刷★★ \r\n★★防宏防挂★★★★★BOSS系统★★★★★休闲养老★★★★★超级礼包★★ \r\n★★激情无限★★★★★种植系统★★★★★死亡传送★★★★★长期稳定★★ \r\n★★大型背包★★★★★晚上夜视★★★★★外天空站★★★★★武装突袭★★ \r\n★★移动电信网络如果卡请开雷神加速器,加速国服免费的★★\r\n★★★★★★唯一Q群:查看游戏帮助里面,欢迎加入★★★★★★",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780646010,
    "last_online": 1780347029,
    "icon": null,
    "name": "小九PVE/新人/F1刷/养老/白嫖/礼包/畅玩/活动多",
    "connect": "117.13.121.117:20201",
    "request": "117.13.121.117:20203",
    "map": "欢迎来到小九PVE",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780216206,
    "last_update": 1780646010,
    "banned": false,
    "wipe": 1778178723,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12321,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Przykłady kodu

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