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

text
https://api.gamemonitoring.ru/servers/12498909
json
{
  "response": {
    "steam_id": "90289424045123601",
    "domain": null,
    "id": 12498909,
    "ip": "111.16.86.85",
    "port": 27015,
    "query": 27015,
    "project_id": null,
    "color": 0,
    "city": "Jining",
    "description": null,
    "game": 265630,
    "owner": null,
    "boosts": 1,
    "last_offline": 1785391348,
    "last_online": 1784730000,
    "icon": null,
    "name": "3412312414321434231312313421412432",
    "connect": "111.16.86.85:27015",
    "request": "111.16.86.85:27015",
    "map": "fofhr_tramonto",
    "gamemode": null,
    "version": "629",
    "numplayers": 0,
    "maxplayers": 21,
    "bots": 0,
    "secured": false,
    "private": null,
    "country": "CN",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1784730140,
    "last_update": 1785391348,
    "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": 2860,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 81,
      "steam_id": 265630,
      "name": "Fistful of Frags",
      "url": "fistful-of-frags"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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