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

text
https://api.gamemonitoring.ru/servers/12484130
json
{
  "response": {
    "dedicated": false,
    "gametype": null,
    "os": "w",
    "product": "cure",
    "region": -1,
    "steam_id": "90289862424851468",
    "domain": null,
    "id": 12484130,
    "ip": "163.123.19.125",
    "port": 27015,
    "query": 27015,
    "project_id": null,
    "color": 0,
    "city": "Grand Forks",
    "description": null,
    "game": 355180,
    "owner": null,
    "boosts": 1,
    "last_offline": 1785382849,
    "last_online": 1785383400,
    "icon": null,
    "name": "CURE FTW",
    "connect": "163.123.19.125:27015",
    "request": "163.123.19.125:27015",
    "map": "cbe_frostbite",
    "gamemode": null,
    "version": "5000002",
    "numplayers": 1,
    "maxplayers": 5,
    "bots": 3,
    "secured": true,
    "private": null,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 53,
    "add_date": 1784682808,
    "last_update": 1785383400,
    "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": 9,
    "language": "en",
    "parked": false,
    "app": {
      "id": 150,
      "steam_id": 355180,
      "name": "Codename CURE",
      "url": "codename-cure"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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