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

text
https://api.gamemonitoring.ru/servers/10682454
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 10682454,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Helsinki",
    "description": null,
    "game": 872670,
    "owner": 150069,
    "boosts": 1,
    "last_offline": 1766209856,
    "score": 0,
    "last_online": 1765296611,
    "icon": null,
    "name": "Anomaly Containment Hub Achscp.com",
    "connect": null,
    "request": null,
    "map": "Map:/Temp/Untitled_0",
    "gamemode": "SCP: Pandemic",
    "version": null,
    "numplayers": 0,
    "maxplayers": 8,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "FI",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1764584291,
    "last_update": 1766209856,
    "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": 24,
    "language": "fi",
    "parked": true,
    "app": {
      "id": 51883,
      "steam_id": 872670,
      "name": "SCP: 5K (Alpha Testing)",
      "url": "scp-5k-alpha-testing"
    },
    "server_owner": {
      "username": "Basti",
      "avatar": "cef77e84-7c21-4f96-b427-d8bfdbc0238a.png",
      "last_online": 1765386083
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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