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

text
https://api.gamemonitoring.ru/servers/12615184
json
{
  "response": {
    "add_date": 1784988109,
    "app": {
      "id": 67,
      "name": "ARK: Survival Evolved",
      "steam_id": 346110,
      "url": "ark-survival-evolved"
    },
    "color": 0,
    "connect": "185.239.175.24:29033",
    "country": "DE",
    "domain": null,
    "game": 346110,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 12615184,
    "ip": "185.239.175.24",
    "language": "de",
    "last_update": 1792933333,
    "map": "Valguero_P",
    "maxplayers": 70,
    "name": "[24/10] AlphaARK - X20 - 4man [Valguero]",
    "numplayers": 2,
    "official": null,
    "points": 32,
    "port": 29033,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 29035,
    "request": "185.239.175.24:29035",
    "secured": true,
    "status": true,
    "steam_id": "90295701339171853",
    "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": 1792853969,
    "last_online": 1792933333,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 2873,
    "wipe_period": null,
    "MOD0_s": "1840739225:95704847403403BBF0E5BB96B0D180AD",
    "MOD1_s": "2742479076:B8FDE8A44DB3F251FB1B769EEB99F4D0",
    "MOD2_s": "1404697612:87CB9E1D490C5FA6D4F255B2952F8302",
    "MOD3_s": "2183584447:0540022F4CCCC19B0FA4C68352150A12",
    "ModId_l": "0",
    "P2PADDR": "90295701339171853",
    "P2PPORT": "29033",
    "LEGACY_i": "0",
    "DayTime_s": "29",
    "OWNINGNAME": "90295701339171853",
    "listentype": "d",
    "ClusterId_s": "Electroorejon334",
    "environment": "w",
    "Networking_i": "0",
    "SESSIONFLAGS": "683",
    "a2s_protocol": 17,
    "MATCHTIMEOUT_f": "120.000000",
    "NUMOPENPUBCONN": "68",
    "SESSIONISPVE_i": "0",
    "HASACTIVEMODS_i": "1",
    "OFFICIALSERVER_i": "0",
    "SEARCHKEYWORDS_s": "Custom",
    "ServerPassword_b": "false",
    "players_complete": true,
    "CUSTOMSERVERNAME_s": "[24/10] alphaark - x20 - 4man [valguero]",
    "ALLOWDOWNLOADCHARS_i": "1",
    "ALLOWDOWNLOADITEMS_i": "1",
    "SERVERUSESBATTLEYE_b": "true"
  }
}

Примеры кода

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