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

text
https://api.gamemonitoring.ru/servers/13375755
json
{
  "response": {
    "add_date": 1785890544,
    "app": {
      "id": 67,
      "name": "ARK: Survival Evolved",
      "steam_id": 346110,
      "url": "ark-survival-evolved"
    },
    "color": 0,
    "connect": "188.213.7.147:8044",
    "country": "ES",
    "domain": null,
    "game": 346110,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 13375755,
    "ip": "188.213.7.147",
    "language": "es",
    "last_update": 1794756271,
    "map": "Ragnarok",
    "maxplayers": 70,
    "name": "ArkRecio.com x25 - 16/OCT - 4MAN - Rag#3",
    "numplayers": 5,
    "official": null,
    "points": 34,
    "port": 8044,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27042,
    "request": "188.213.7.147:27042",
    "secured": true,
    "status": true,
    "steam_id": "90297317342600193",
    "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": 1794677133,
    "last_online": 1794756271,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 2028,
    "wipe_period": null,
    "ModId_l": "0",
    "P2PADDR": "90297317342600193",
    "P2PPORT": "8044",
    "LEGACY_i": "0",
    "DayTime_s": "792",
    "OWNINGNAME": "90297317342600193",
    "listentype": "d",
    "ClusterId_s": "ArkRecio5675",
    "environment": "w",
    "Networking_i": "0",
    "SESSIONFLAGS": "1707",
    "a2s_protocol": 17,
    "MATCHTIMEOUT_f": "120.000000",
    "NUMOPENPUBCONN": "69",
    "SESSIONISPVE_i": "0",
    "HASACTIVEMODS_i": "0",
    "OFFICIALSERVER_i": "0",
    "SEARCHKEYWORDS_s": "Custom",
    "ServerPassword_b": "false",
    "players_complete": true,
    "CUSTOMSERVERNAME_s": "arkrecio.com x25 - 16/oct - 4man - rag#3",
    "ALLOWDOWNLOADCHARS_i": "1",
    "ALLOWDOWNLOADITEMS_i": "1",
    "SERVERUSESBATTLEYE_b": "true"
  }
}

Примеры кода

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