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

text
https://api.gamemonitoring.ru/servers/12925827
json
{
  "response": {
    "add_date": 1785276701,
    "app": {
      "id": 67,
      "name": "ARK: Survival Evolved",
      "steam_id": 346110,
      "url": "ark-survival-evolved"
    },
    "color": 0,
    "connect": "111.217.54.53:8777",
    "country": "JP",
    "domain": null,
    "game": 346110,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 12925827,
    "ip": "111.217.54.53",
    "language": "ja",
    "last_update": 1794757551,
    "map": "TheIsland",
    "maxplayers": 4,
    "name": "MTMT_TI",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 8777,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 37020,
    "request": "111.217.54.53:37020",
    "secured": true,
    "status": true,
    "steam_id": "90297477182658573",
    "version": "358.24",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Иокогама",
    "description": null,
    "disabled_modules": [],
    "gamemode": "TestGameMode_CuteHair_C",
    "hidden": false,
    "last_offline": 1794737671,
    "last_online": 1794757551,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 6172,
    "wipe_period": null,
    "MOD0_s": "618916953:6B34E504452F548BB572A1AFBF58CAE2",
    "MOD1_s": "1991290615:7A6CEFB840489522E1DB4DA17F019661",
    "MOD2_s": "2185399633:E86C6079428FBDBDEAB3D88F7E68DF18",
    "MOD3_s": "2658259820:953631AC454D0F5F2BD20389F5BEDD4D",
    "ModId_l": "0",
    "P2PADDR": "90297477182658573",
    "P2PPORT": "8777",
    "LEGACY_i": "0",
    "DayTime_s": "8291",
    "OWNINGNAME": "90297477182658573",
    "listentype": "d",
    "ClusterId_s": "mtmtarkcluster",
    "environment": "l",
    "Networking_i": "0",
    "SESSIONFLAGS": "1707",
    "a2s_protocol": 17,
    "MATCHTIMEOUT_f": "120.000000",
    "NUMOPENPUBCONN": "4",
    "SESSIONISPVE_i": "1",
    "HASACTIVEMODS_i": "1",
    "OFFICIALSERVER_i": "0",
    "SEARCHKEYWORDS_s": "Custom",
    "ServerPassword_b": "true",
    "players_complete": true,
    "CUSTOMSERVERNAME_s": "mtmt_ti",
    "ALLOWDOWNLOADCHARS_i": "1",
    "ALLOWDOWNLOADITEMS_i": "1",
    "SERVERUSESBATTLEYE_b": "false"
  }
}

Примеры кода

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