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

text
https://api.gamemonitoring.ru/servers/572966
json
{
  "response": {
    "add_date": 1668897781,
    "app": {
      "id": 67,
      "name": "ARK: Survival Evolved",
      "steam_id": 346110,
      "url": "ark-survival-evolved"
    },
    "color": 0,
    "connect": "104.192.227.52:7795",
    "country": "US",
    "domain": null,
    "game": 346110,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 572966,
    "ip": "104.192.227.52",
    "language": "en",
    "last_update": 1792811548,
    "map": "TheIsland",
    "maxplayers": 30,
    "name": "Gaming is Life: The Island Story",
    "numplayers": 4,
    "official": null,
    "points": 36,
    "port": 7795,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27043,
    "request": "104.192.227.52:27043",
    "secured": true,
    "status": true,
    "steam_id": "90290982548885521",
    "version": "358.24",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Чикаго",
    "description": "",
    "disabled_modules": [],
    "gamemode": "TestGameMode_C",
    "hidden": false,
    "last_offline": 1792740441,
    "last_online": 1792811548,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 1590,
    "wipe_period": null,
    "MOD0_s": "731604991:E3E2E41644CFFFCC8E42AA8B8D748948",
    "MOD1_s": "1404697612:87CB9E1D490C5FA6D4F255B2952F8302",
    "MOD2_s": "2307661303:E45CD92C4FB723E4D8B9A1A821BF88E3",
    "MOD3_s": "1609138312:2CF1120B4B0D1D98208089978735AD79",
    "ModId_l": "0",
    "P2PADDR": "90290982548885521",
    "P2PPORT": "7795",
    "LEGACY_i": "0",
    "DayTime_s": "39632",
    "OWNINGNAME": "90290982548885521",
    "listentype": "d",
    "ClusterId_s": "client32119",
    "environment": "w",
    "Networking_i": "0",
    "SESSIONFLAGS": "683",
    "a2s_protocol": 17,
    "MATCHTIMEOUT_f": "120.000000",
    "NUMOPENPUBCONN": "30",
    "SESSIONISPVE_i": "1",
    "HASACTIVEMODS_i": "1",
    "OFFICIALSERVER_i": "0",
    "SEARCHKEYWORDS_s": "Custom",
    "ServerPassword_b": "false",
    "players_complete": true,
    "CUSTOMSERVERNAME_s": "gaming is life: the island story",
    "ALLOWDOWNLOADCHARS_i": "1",
    "ALLOWDOWNLOADITEMS_i": "1",
    "SERVERUSESBATTLEYE_b": "true"
  }
}

Примеры кода

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