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

text
https://api.gamemonitoring.ru/servers/15419235
json
{
  "response": {
    "add_date": 1788760673,
    "app": {
      "id": 5,
      "name": "Counter-Strike: Source",
      "steam_id": 240,
      "url": "counter-strike-source"
    },
    "color": 0,
    "connect": "5.180.97.142:27015",
    "country": "NL",
    "domain": null,
    "game": 240,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 15419235,
    "ip": "5.180.97.142",
    "language": "nl",
    "last_update": 1789937855,
    "map": "surf_cyberwave",
    "maxplayers": 32,
    "name": "\\u2605 CS:S [Skill Surf & Timer | 100 Tick | Replay Bots] \\u260",
    "numplayers": 0,
    "official": null,
    "points": 32,
    "port": 27015,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27015,
    "request": "5.180.97.142:27015",
    "secured": true,
    "status": true,
    "steam_id": "90293114708058119",
    "version": "11003710",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Амстердам",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1789937678,
    "last_online": 1789937855,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 610,
    "wipe_period": null,
    "os": "w",
    "region": 255,
    "product": "cstrike",
    "gametype": "alltalk,bunnyhopping,startmoney",
    "dedicated": true
  }
}

Примеры кода

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