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

text
https://api.gamemonitoring.ru/servers/10889427
json
{
  "response": {
    "steam_id": "90283911083266069",
    "domain": null,
    "id": 10889427,
    "ip": "188.40.120.188",
    "port": 34597,
    "query": 27016,
    "color": 0,
    "city": "Falkenstein",
    "description": null,
    "game": 431600,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774264915,
    "score": 0,
    "last_online": 1777543282,
    "icon": null,
    "name": "WAT: OVGTCC PRACTICE",
    "connect": "188.40.120.188:34597",
    "request": "188.40.120.188:27016",
    "map": "Bathurst 2010 - MAX Detail",
    "gamemode": "Automobilista: HSO Supertouring Cars",
    "version": "1",
    "numplayers": 0,
    "maxplayers": 51,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1768322749,
    "last_update": 1777543282,
    "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": 4,
    "language": "de",
    "parked": false,
    "app": {
      "id": 166,
      "steam_id": 431600,
      "name": "Automobilista",
      "url": "automobilista"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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