JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/17218600
json
{
  "response": {
    "add_date": 1790455627,
    "app": {
      "id": 137,
      "name": "Squad",
      "steam_id": 393380,
      "url": "squad"
    },
    "color": 0,
    "connect": "202.189.21.129:30101",
    "country": "CN",
    "domain": null,
    "game": 393380,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 17218600,
    "ip": "202.189.21.129",
    "language": "zh",
    "last_update": 1792926493,
    "map": "Yehorivka_RAAS_v2",
    "maxplayers": 100,
    "name": "#1『哈喽HAL』夜间勇士丨随机攻防丨藤原独家冠名丨YY:15117 Q群:737610738",
    "numplayers": 100,
    "official": null,
    "points": 129,
    "port": 30101,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 30101,
    "request": "202.189.21.129:30101",
    "secured": null,
    "status": true,
    "steam_id": null,
    "version": "v10.6.3.694944.3212",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Пекин",
    "description": null,
    "disabled_modules": [],
    "gamemode": "RAAS",
    "hidden": false,
    "last_offline": 1791412622,
    "last_online": 1792926493,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 17,
    "wipe_period": null,
    "eosSessionId": "75fec7d8d30c441f8a7c197170a728ba"
  }
}

Примеры кода

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