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

text
https://api.gamemonitoring.ru/servers/13256226
json
{
  "response": {
    "dedicated": true,
    "gametype": "g:skirmish,p:custom,t:default,v:2424,pure:2,grp:5513290i,compspec,gravity,HLstatsX:CE,increased_maxplayers,noblock",
    "os": "l",
    "product": "insurgency",
    "region": 3,
    "steam_id": "90290127642103824",
    "domain": null,
    "id": 13256226,
    "ip": "178.32.206.219",
    "port": 25154,
    "query": 25154,
    "project_id": null,
    "color": 0,
    "city": "Warsaw",
    "description": null,
    "game": 222880,
    "owner": null,
    "boosts": 1,
    "last_offline": 1785885337,
    "last_online": 1785738600,
    "icon": null,
    "name": ">V< Competition Central",
    "connect": "178.32.206.219:25154",
    "request": "178.32.206.219:25154",
    "map": "ministry",
    "gamemode": null,
    "version": "2.4.2.4",
    "numplayers": 0,
    "maxplayers": 49,
    "bots": 0,
    "secured": true,
    "private": null,
    "country": "PL",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1785734634,
    "last_update": 1785885337,
    "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": 1180,
    "language": "pl",
    "parked": false,
    "app": {
      "id": 13,
      "steam_id": 222880,
      "name": "Insurgency",
      "url": "insurgency"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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