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

text
https://api.gamemonitoring.ru/servers/1600632
json
{
  "response": {
    "add_date": 1698185217,
    "app": {
      "id": 67,
      "name": "ARK: Survival Evolved",
      "steam_id": 346110,
      "url": "ark-survival-evolved"
    },
    "color": 0,
    "connect": "144.217.252.20:7847",
    "country": "CA",
    "domain": null,
    "game": 346110,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 1600632,
    "ip": "144.217.252.20",
    "language": "en",
    "last_update": 1794756252,
    "map": "Valguero_P",
    "maxplayers": 99,
    "name": "#12 TLA [10x- JUST WIPED!!! -mods-shop-all maps]",
    "numplayers": 35,
    "official": null,
    "points": 52,
    "port": 7847,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27050,
    "request": "144.217.252.20:27050",
    "secured": true,
    "status": true,
    "steam_id": "90297514305557523",
    "version": "361.7",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Боарнуа",
    "description": "",
    "disabled_modules": [],
    "gamemode": "TestGameMode_C",
    "hidden": false,
    "last_offline": 1794656660,
    "last_online": 1794756252,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 675,
    "wipe_period": null,
    "MOD0_s": "731604991:E3E2E41644CFFFCC8E42AA8B8D748948",
    "MOD1_s": "924619115:37F499BE413805E1764BB4A655198988",
    "MOD2_s": "1941328406:EFCAF57D4A86865ED5D527B02980B382",
    "MOD3_s": "1404697612:87CB9E1D490C5FA6D4F255B2952F8302",
    "ModId_l": "0",
    "P2PADDR": "90297514305557523",
    "P2PPORT": "7847",
    "LEGACY_i": "0",
    "DayTime_s": "3",
    "OWNINGNAME": "90297514305557523",
    "listentype": "d",
    "ClusterId_s": "TheLastArk",
    "environment": "w",
    "Networking_i": "0",
    "SESSIONFLAGS": "1707",
    "a2s_protocol": 17,
    "MATCHTIMEOUT_f": "120.000000",
    "NUMOPENPUBCONN": "64",
    "SESSIONISPVE_i": "0",
    "HASACTIVEMODS_i": "1",
    "OFFICIALSERVER_i": "0",
    "SEARCHKEYWORDS_s": "Custom",
    "ServerPassword_b": "false",
    "players_complete": true,
    "CUSTOMSERVERNAME_s": "#12 tla [10x- just wiped!!! -mods-shop-all maps]",
    "ALLOWDOWNLOADCHARS_i": "1",
    "ALLOWDOWNLOADITEMS_i": "1",
    "SERVERUSESBATTLEYE_b": "true"
  }
}

Примеры кода

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