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

text
https://api.gamemonitoring.ru/servers/18593198
json
{
  "response": {
    "add_date": 1792324107,
    "app": {
      "id": 137,
      "name": "Squad",
      "steam_id": 393380,
      "url": "squad"
    },
    "color": 0,
    "connect": "202.189.23.188:5002",
    "country": "CN",
    "domain": null,
    "game": 393380,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 18593198,
    "ip": "202.189.23.188",
    "language": "zh",
    "last_update": 1792934986,
    "map": "AlBasrah_Invasion_v1",
    "maxplayers": 98,
    "name": "[CN]=YLY=二号养老院☆萌新首选|养老单位|侵工战斗|免排队加服务器Q群:755561342/KOOK:YLY666",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 5002,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 5002,
    "request": "202.189.23.188:5002",
    "secured": null,
    "status": false,
    "steam_id": null,
    "version": "v10.6.2.691446.3180",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Пекин",
    "description": null,
    "disabled_modules": [],
    "gamemode": "Invasion",
    "hidden": false,
    "last_offline": 1792934986,
    "last_online": 1792334186,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 884,
    "wipe_period": null,
    "eosSessionId": "603e481958b74d96ac6b2b16611dfb71"
  }
}

Примеры кода

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