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

text
https://api.gamemonitoring.ru/servers/12838849
json
{
  "response": {
    "steam_id": "90289696658329602",
    "domain": null,
    "id": 12838849,
    "ip": "178.172.240.84",
    "port": 42805,
    "query": 27016,
    "project_id": null,
    "color": 0,
    "city": "Minsk",
    "description": null,
    "game": 480,
    "owner": null,
    "boosts": 1,
    "last_offline": 1785392963,
    "last_online": 1785165000,
    "icon": null,
    "name": "ORSHA",
    "connect": "178.172.240.84:42805",
    "request": "178.172.240.84:27016",
    "map": "levels/world001.map",
    "gamemode": null,
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 2,
    "bots": 0,
    "secured": false,
    "private": null,
    "country": "BY",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1785165179,
    "last_update": 1785392963,
    "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": 3853,
    "language": "be",
    "parked": false,
    "app": {
      "id": 54694,
      "steam_id": 480,
      "name": "Spacewar",
      "url": "spacewar"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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