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

text
https://api.gamemonitoring.ru/servers/20033924
json
{
  "response": {
    "add_date": 1794480299,
    "app": {
      "id": 1626086,
      "name": "ARK: Survival Ascended",
      "steam_id": 2399830,
      "url": "ark-survival-ascended"
    },
    "color": 0,
    "connect": "173.234.64.3:5290",
    "country": "JP",
    "domain": null,
    "game": 2399830,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 20033924,
    "ip": "173.234.64.3",
    "language": "ja",
    "last_update": 1794772102,
    "map": "Extinction_WP",
    "maxplayers": 20,
    "name": "Gen_server",
    "numplayers": 0,
    "official": false,
    "points": 30,
    "port": 5290,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 5290,
    "request": "173.234.64.3:5290",
    "secured": null,
    "status": true,
    "steam_id": null,
    "version": "98.6",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Minato",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794724875,
    "last_online": 1794772102,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 48172,
    "wipe_period": null,
    "isPve": true,
    "modIds": "929420",
    "dayTime": 45,
    "battleye": true,
    "gameMode": "TestGameMode_C",
    "clusterId": null,
    "sessionId": "abb3019918f448aba3e2e6e589451f06",
    "modFileIds": "9416252",
    "sessionName": "Gen_server - (v98.6)",
    "platformType": "PC+XSX+WINGDK"
  }
}

Примеры кода

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