JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11511493
json
{
  "response": {
    "fps": 21,
    "fps_avg": 17,
    "entities_count": 124861,
    "world_seed": 145469369,
    "world_size": 4500,
    "steam_id": "90286575908489234",
    "domain": null,
    "id": 11511493,
    "ip": "103.91.208.202",
    "port": 10090,
    "query": 10092,
    "color": 0,
    "city": "Jinan",
    "description": "《天下会》pve纯公益原倍服务器\r\n在原有职业和武器强化的基础上特增加50个境界为依托的修仙体系\r\n让您体验稳步变强的修仙历程,境界每年清除一次\r\n地图标点传送随意使用,工业农业养殖业管道自动化共通全覆盖\r\n商城物资回收品类丰富,不论您是喜欢刷副本的精英战士,还是醉心诗酒田园的养老玩家\r\n这里都将为您提供宽裕的物资条件和游戏体验。祝您在服务器中玩的愉快\r\n玩家交流QQ群:637296399",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780661599,
    "last_online": 1780611633,
    "icon": null,
    "name": "【天下会】-原倍I强化I修仙I死亡不掉I基地突袭",
    "connect": "103.91.208.202:10090",
    "request": "103.91.208.202:10092",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779353850,
    "last_update": 1780661599,
    "banned": false,
    "wipe": 1778176995,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11334,
    "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/11511493");
$data = json_decode($json, true);
var_dump($data);