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

text
https://api.gamemonitoring.ru/servers/20010826
json
{
  "response": {
    "add_date": 1794427716,
    "app": {
      "id": 67,
      "name": "ARK: Survival Evolved",
      "steam_id": 346110,
      "url": "ark-survival-evolved"
    },
    "color": 0,
    "connect": null,
    "country": "US",
    "domain": null,
    "game": 346110,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 20010826,
    "ip": null,
    "language": "en",
    "last_update": 1794452319,
    "map": "TheCenter",
    "maxplayers": 111,
    "name": "HomeCraft ARK",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": null,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": null,
    "request": null,
    "secured": true,
    "status": false,
    "steam_id": "90294895824266259",
    "version": "358.24",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Спокан",
    "description": null,
    "disabled_modules": [],
    "gamemode": "TestGameMode_C",
    "hidden": false,
    "last_offline": null,
    "last_online": 1794452319,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": true,
    "position_game": 7255,
    "wipe_period": null,
    "ModId_l": "0",
    "P2PADDR": "90294895824266259",
    "P2PPORT": "7777",
    "LEGACY_i": "0",
    "DayTime_s": "935",
    "OWNINGNAME": "90294895824266259",
    "listentype": "d",
    "environment": "w",
    "Networking_i": "0",
    "SESSIONFLAGS": "1707",
    "a2s_protocol": 17,
    "MATCHTIMEOUT_f": "120.000000",
    "NUMOPENPUBCONN": "111",
    "SESSIONISPVE_i": "1",
    "HASACTIVEMODS_i": "0",
    "OFFICIALSERVER_i": "0",
    "SEARCHKEYWORDS_s": "Custom",
    "ServerPassword_b": "false",
    "players_complete": true,
    "CUSTOMSERVERNAME_s": "homecraft ark",
    "ALLOWDOWNLOADCHARS_i": "1",
    "ALLOWDOWNLOADITEMS_i": "1",
    "SERVERUSESBATTLEYE_b": "true"
  }
}

Примеры кода

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