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

text
https://api.gamemonitoring.ru/servers/12751469
json
{
  "response": {
    "dedicated": true,
    "gametype": "BUILDID:0,OWNINGID:90289651045815305,OWNINGNAME:90289651045815305,SESSIONFLAGS:552,MATCHTIMEOUT_f:120.000000,GameMode_s:SG",
    "os": "w",
    "product": "MOE",
    "region": -1,
    "steam_id": "90289651045815305",
    "domain": null,
    "id": 12751469,
    "ip": "183.103.42.251",
    "port": 5010,
    "query": 5020,
    "project_id": null,
    "color": 0,
    "city": "Busan",
    "description": null,
    "game": 1371580,
    "owner": null,
    "boosts": 1,
    "last_offline": 1785403236,
    "last_online": 1785090600,
    "icon": null,
    "name": "90289651045815305",
    "connect": "183.103.42.251:5010",
    "request": "183.103.42.251:5020",
    "map": "LargeTerrain_Central2_Main",
    "gamemode": null,
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 0,
    "bots": 0,
    "secured": true,
    "private": null,
    "country": "KR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1785089719,
    "last_update": 1785403236,
    "ban_reason": null,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 350,
    "language": "ko",
    "parked": false,
    "app": {
      "id": 1625868,
      "steam_id": 1371580,
      "name": "Myth of Empires",
      "url": "myth-of-empires"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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