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

text
https://api.gamemonitoring.ru/servers/19458795
json
{
  "response": {
    "add_date": 1793470614,
    "app": {
      "id": 1625868,
      "name": "Myth of Empires",
      "steam_id": 1371580,
      "url": "myth-of-empires"
    },
    "color": 0,
    "connect": "103.37.44.213:3001",
    "country": "CN",
    "domain": null,
    "game": 1371580,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 19458795,
    "ip": "103.37.44.213",
    "language": "zh",
    "last_update": 1794784555,
    "map": "LargeTerrain_Central_Main",
    "maxplayers": 100,
    "name": "SceneServer_3000",
    "numplayers": 2,
    "official": null,
    "points": 33,
    "port": 3001,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 3001,
    "request": "103.37.44.213:3001",
    "secured": null,
    "status": true,
    "steam_id": null,
    "version": "1.129",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Уси",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1793708920,
    "last_online": 1794784555,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 11,
    "wipe_period": null,
    "np": 0,
    "cbs": 0,
    "key": "40a5a4d5644062502104f52fed041a808547ff48",
    "m_o": -1,
    "bgat": 0,
    "type": 2,
    "cg_id": 1,
    "cross": 1,
    "f_c_n": 0,
    "is_as": 0,
    "s_lvl": 0,
    "xc_id": 1,
    "pl_max": 0,
    "s_d_id": 1,
    "city_id": 2,
    "ds_type": 1,
    "has_pwd": 0,
    "r_hukou": 20,
    "category": 3,
    "cross_in": 1,
    "is_as_bm": 0,
    "map_name": "LargeTerrain_Central_Main",
    "pl_limit": 0,
    "pvp_type": 1,
    "cross_pvp": 1,
    "major_ver": 1,
    "maxplayer": 100,
    "minor_ver": 129,
    "vipserver": 1,
    "a_mod_list": "-SteamModList=\"3176015595>0>0.0.0+3244926969>0>0.0.0\"",
    "bp_cluster": "B643E82D45B8EEC7B93826B263ADF6CC",
    "s_opentime": "639172953256600000",
    "u_passport": 0,
    "bigworld_id": 0,
    "district_id": 8888,
    "r_playernum": 78,
    "trueplayers": 2,
    "innewbigworld": 0,
    "pct_playernum": 0.025,
    "master_version": "1794784545",
    "master_category": 3,
    "master_time_stamp": "2026-11-16 07:15:45",
    "auto_get_ip_by_server": true,
    "master_format_version": 2
  }
}

Примеры кода

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