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

text
https://api.gamemonitoring.ru/servers/11109275
json
{
  "response": {
    "add_date": 1770050609,
    "app": {
      "id": 67,
      "name": "ARK: Survival Evolved",
      "steam_id": 346110,
      "url": "ark-survival-evolved"
    },
    "color": 0,
    "connect": "23.247.169.253:7783",
    "country": "GB",
    "domain": null,
    "game": 346110,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 11109275,
    "ip": "23.247.169.253",
    "language": "en",
    "last_update": 1792934054,
    "map": "Genesis",
    "maxplayers": 70,
    "name": "FusionPvP » [100x] [2Man] [Genesis1]",
    "numplayers": 9,
    "official": null,
    "points": 38,
    "port": 7783,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27021,
    "request": "23.247.169.253:27021",
    "secured": true,
    "status": true,
    "steam_id": "90295750122845209",
    "version": "358.24",
    "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": 1792853656,
    "last_online": 1792934054,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 1477,
    "wipe_period": null,
    "MOD0_s": "3461528683:7E07AF124797AAF45158F9A86F949FE0",
    "MOD1_s": "2183584447:0540022F4CCCC19B0FA4C68352150A12",
    "MOD2_s": "2397436604:9224539D4F46D917B6EE56B6A0FFFB7F",
    "MOD3_s": "1941328406:EFCAF57D4A86865ED5D527B02980B382",
    "ModId_l": "0",
    "P2PADDR": "90295750122845209",
    "P2PPORT": "7783",
    "LEGACY_i": "0",
    "DayTime_s": "23",
    "OWNINGNAME": "90295750122845209",
    "listentype": "d",
    "ClusterId_s": "",
    "environment": "w",
    "Networking_i": "0",
    "SESSIONFLAGS": "683",
    "a2s_protocol": 17,
    "MATCHTIMEOUT_f": "120.000000",
    "NUMOPENPUBCONN": "58",
    "SESSIONISPVE_i": "0",
    "HASACTIVEMODS_i": "1",
    "OFFICIALSERVER_i": "0",
    "SEARCHKEYWORDS_s": "Custom",
    "ServerPassword_b": "false",
    "CUSTOMSERVERNAME_s": "fusionpvp » [100x] [2man] [genesis1]",
    "ALLOWDOWNLOADCHARS_i": "1",
    "ALLOWDOWNLOADITEMS_i": "1",
    "SERVERUSESBATTLEYE_b": "true"
  }
}

Примеры кода

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