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

text
https://api.gamemonitoring.ru/servers/12925626
json
{
  "response": {
    "add_date": 1785276700,
    "app": {
      "id": 67,
      "name": "ARK: Survival Evolved",
      "steam_id": 346110,
      "url": "ark-survival-evolved"
    },
    "color": 0,
    "connect": "122.5.192.155:15220",
    "country": "CN",
    "domain": null,
    "game": 346110,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 12925626,
    "ip": "122.5.192.155",
    "language": "zh",
    "last_update": 1791255314,
    "map": "Ragnarok",
    "maxplayers": 127,
    "name": "新开千倍/S+/灭绝野人/长久服/仙境/2.0/PVE搜WX - (v",
    "numplayers": 48,
    "official": null,
    "points": 57,
    "port": 15220,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 25230,
    "request": "122.5.192.155:25230",
    "secured": true,
    "status": true,
    "steam_id": "90291848244202522",
    "version": "1.0.0.0",
    "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": 1791041156,
    "last_online": 1791255314,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 248,
    "wipe_period": null,
    "ModId_l": "0",
    "P2PADDR": "90291848244202522",
    "P2PPORT": "15220",
    "LEGACY_i": "0",
    "DayTime_s": "1",
    "OWNINGNAME": "90291848244202522",
    "listentype": "\u0000",
    "environment": "\u0000",
    "Networking_i": "0",
    "SESSIONFLAGS": "683",
    "a2s_protocol": 17,
    "MATCHTIMEOUT_f": "120.000000",
    "NUMOPENPUBCONN": "79",
    "SESSIONISPVE_i": "1",
    "HASACTIVEMODS_i": "0",
    "OFFICIALSERVER_i": "0",
    "SEARCHKEYWORDS_s": "Custom",
    "ServerPassword_b": "false",
    "players_complete": true,
    "CUSTOMSERVERNAME_s": "新开千倍/s+/灭绝野人/长久服/仙境/2.0/pve搜wx",
    "ALLOWDOWNLOADCHARS_i": "1",
    "ALLOWDOWNLOADITEMS_i": "1",
    "SERVERUSESBATTLEYE_b": "false"
  }
}

Примеры кода

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