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

text
https://api.gamemonitoring.ru/servers/12151282
json
{
  "response": {
    "add_date": 1783806104,
    "app": {
      "id": 67,
      "name": "ARK: Survival Evolved",
      "steam_id": 346110,
      "url": "ark-survival-evolved"
    },
    "color": 0,
    "connect": "202.189.15.236:6760",
    "country": "CN",
    "domain": null,
    "game": 346110,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 12151282,
    "ip": "202.189.15.236",
    "language": "zh",
    "last_update": 1792821487,
    "map": "Alps",
    "maxplayers": 30,
    "name": "650958296怪物模组-4399-20倍",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 6760,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 15760,
    "request": "202.189.15.236:15760",
    "secured": false,
    "status": true,
    "steam_id": "90295650577702926",
    "version": "358.24",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Цзинань",
    "description": null,
    "disabled_modules": [],
    "gamemode": "TestGameMode_mhw_C",
    "hidden": false,
    "last_offline": 1792706236,
    "last_online": 1792821487,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 6643,
    "wipe_period": null,
    "MOD0_s": "3797903812:97834E45468045E79EC2428ACA631085",
    "MOD1_s": "3797906183:09ADAEBC42AE3701D2B48F8973B2B645",
    "MOD2_s": "3797908224:6216D4494536E829B63C5CB58CA1118E",
    "MOD3_s": "3797908738:770FC4B54FD381173D7C3AAFB809B90D",
    "ModId_l": "0",
    "P2PADDR": "90295650577702926",
    "P2PPORT": "6760",
    "LEGACY_i": "0",
    "DayTime_s": "299",
    "OWNINGNAME": "90295650577702926",
    "listentype": "d",
    "ClusterId_s": "8GaMmSkX5YGG4",
    "environment": "w",
    "Networking_i": "0",
    "SESSIONFLAGS": "171",
    "a2s_protocol": 17,
    "MATCHTIMEOUT_f": "120.000000",
    "NUMOPENPUBCONN": "30",
    "SESSIONISPVE_i": "1",
    "HASACTIVEMODS_i": "1",
    "OFFICIALSERVER_i": "0",
    "SEARCHKEYWORDS_s": "Custom",
    "ServerPassword_b": "false",
    "players_complete": true,
    "CUSTOMSERVERNAME_s": "650958296怪物模组-4399-20倍",
    "ALLOWDOWNLOADCHARS_i": "1",
    "ALLOWDOWNLOADITEMS_i": "1",
    "SERVERUSESBATTLEYE_b": "false"
  }
}

Примеры кода

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