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

text
https://api.gamemonitoring.ru/servers/5593204
json
{
  "response": {
    "add_date": 1723626379,
    "app": {
      "id": 67,
      "name": "ARK: Survival Evolved",
      "steam_id": 346110,
      "url": "ark-survival-evolved"
    },
    "color": 0,
    "connect": "141.98.157.204:7777",
    "country": "GB",
    "domain": null,
    "game": 346110,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 5593204,
    "ip": "141.98.157.204",
    "language": "en",
    "last_update": 1789841165,
    "map": "TheIsland",
    "maxplayers": 70,
    "name": "INXServ.eu PVP 2Man x20 - S08 21/08 - Island #1",
    "numplayers": 46,
    "official": null,
    "points": 92,
    "port": 7777,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27015,
    "request": "141.98.157.204:27015",
    "secured": true,
    "status": true,
    "steam_id": "90293021903854605",
    "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": 1789742576,
    "last_online": 1789841165,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 14,
    "wipe_period": null,
    "MOD0_s": "3787103214:76C8CE4F4E3CC648E7BA5BB1F575F606",
    "MOD1_s": "3495937620:95D50C174164A9B8E8AC46B0B51A3403",
    "MOD2_s": "3799028942:2C985E684B1DAB19B67A208D979E7E2C",
    "MOD3_s": "3785203552:DCB3030D43B217814918DE81E8C140B2",
    "ModId_l": "0",
    "P2PADDR": "90293021903854605",
    "P2PPORT": "7777",
    "LEGACY_i": "0",
    "DayTime_s": "1",
    "OWNINGNAME": "90293021903854605",
    "listentype": "d",
    "ClusterId_s": "X_E3764022",
    "environment": "w",
    "Networking_i": "0",
    "SESSIONFLAGS": "683",
    "a2s_protocol": 17,
    "MATCHTIMEOUT_f": "120.000000",
    "NUMOPENPUBCONN": "46",
    "SESSIONISPVE_i": "0",
    "HASACTIVEMODS_i": "1",
    "OFFICIALSERVER_i": "0",
    "SEARCHKEYWORDS_s": "Custom",
    "ServerPassword_b": "false",
    "players_complete": true,
    "CUSTOMSERVERNAME_s": "inxserv.eu pvp 2man x20 - s08 21/08 - island #1",
    "ALLOWDOWNLOADCHARS_i": "1",
    "ALLOWDOWNLOADITEMS_i": "1",
    "SERVERUSESBATTLEYE_b": "true"
  }
}

Примеры кода

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