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

text
https://api.gamemonitoring.ru/servers/7655756
json
{
  "response": {
    "add_date": 1739545671,
    "app": {
      "id": 67,
      "name": "ARK: Survival Evolved",
      "steam_id": 346110,
      "url": "ark-survival-evolved"
    },
    "color": 0,
    "connect": "89.74.7.121:7779",
    "country": "PL",
    "domain": null,
    "game": 346110,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 7655756,
    "ip": "89.74.7.121",
    "language": "pl",
    "last_update": 1794761142,
    "map": "Valguero_P",
    "maxplayers": 50,
    "name": "[PL][EU]DinoHuntersCluster-PrimeWorld2[-PvE-]",
    "numplayers": 3,
    "official": null,
    "points": 33,
    "port": 7779,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27016,
    "request": "89.74.7.121:27016",
    "secured": true,
    "status": true,
    "steam_id": "90295454262126602",
    "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": 1794450780,
    "last_online": 1794761142,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 2085,
    "wipe_period": null,
    "MOD0_s": "1404697612:87CB9E1D490C5FA6D4F255B2952F8302",
    "MOD1_s": "1522327484:924469E74A514896885E77A33FCF2520",
    "MOD2_s": "1609138312:2CF1120B4B0D1D98208089978735AD79",
    "ModId_l": "0",
    "P2PADDR": "90295454262126602",
    "P2PPORT": "7779",
    "LEGACY_i": "0",
    "DayTime_s": "1057",
    "OWNINGNAME": "90295454262126602",
    "listentype": "d",
    "ClusterId_s": "DinoRaiders",
    "environment": "w",
    "Networking_i": "0",
    "SESSIONFLAGS": "1707",
    "a2s_protocol": 17,
    "MATCHTIMEOUT_f": "120.000000",
    "NUMOPENPUBCONN": "50",
    "SESSIONISPVE_i": "1",
    "HASACTIVEMODS_i": "1",
    "OFFICIALSERVER_i": "0",
    "SEARCHKEYWORDS_s": "Custom",
    "ServerPassword_b": "false",
    "players_complete": true,
    "CUSTOMSERVERNAME_s": "[pl][eu]dinohunterscluster-primeworld2[-pve-]",
    "ALLOWDOWNLOADCHARS_i": "1",
    "ALLOWDOWNLOADITEMS_i": "1",
    "SERVERUSESBATTLEYE_b": "true"
  }
}

Примеры кода

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