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

text
https://api.gamemonitoring.ru/servers/11742711
json
{
  "response": {
    "add_date": 1780518527,
    "app": {
      "id": 67,
      "name": "ARK: Survival Evolved",
      "steam_id": 346110,
      "url": "ark-survival-evolved"
    },
    "color": 0,
    "connect": "202.189.4.207:21207",
    "country": "CN",
    "domain": null,
    "game": 346110,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 11742711,
    "ip": "202.189.4.207",
    "language": "zh",
    "last_update": 1792922325,
    "map": "TheCenter",
    "maxplayers": 70,
    "name": "#Nice 10倍 12Man 仿官 PVP 中心 搜0632",
    "numplayers": 7,
    "official": null,
    "points": 36,
    "port": 21207,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 6615,
    "request": "202.189.4.207:6615",
    "secured": true,
    "status": true,
    "steam_id": "90295744620359707",
    "version": "361.7",
    "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": 1792753081,
    "last_online": 1792922325,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 1693,
    "wipe_period": null,
    "MOD0_s": "3032923977:13F4AD2943395033534050BD7171217B",
    "MOD1_s": "3738635036:DFAE55674F095CF8A300488DF5708C4D",
    "MOD2_s": "3496154993:9E897A6848BB93A4A9EDD69AE6262386",
    "MOD3_s": "1404697612:87CB9E1D490C5FA6D4F255B2952F8302",
    "ModId_l": "0",
    "P2PADDR": "90295744620359707",
    "P2PPORT": "21207",
    "LEGACY_i": "0",
    "DayTime_s": "1",
    "OWNINGNAME": "90295744620359707",
    "listentype": "d",
    "ClusterId_s": "pvpnice7",
    "environment": "w",
    "Networking_i": "0",
    "SESSIONFLAGS": "1707",
    "a2s_protocol": 17,
    "MATCHTIMEOUT_f": "120.000000",
    "NUMOPENPUBCONN": "63",
    "SESSIONISPVE_i": "0",
    "HASACTIVEMODS_i": "1",
    "OFFICIALSERVER_i": "0",
    "SEARCHKEYWORDS_s": "Custom",
    "ServerPassword_b": "false",
    "players_complete": true,
    "CUSTOMSERVERNAME_s": "#nice 10倍 12man 仿官 pvp 中心 搜0632",
    "ALLOWDOWNLOADCHARS_i": "1",
    "ALLOWDOWNLOADITEMS_i": "1",
    "SERVERUSESBATTLEYE_b": "true"
  }
}

Примеры кода

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