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

text
https://api.gamemonitoring.ru/servers/11181918
json
{
  "response": {
    "steam_id": "90285216035877901",
    "domain": null,
    "id": 11181918,
    "ip": "154.51.80.251",
    "port": 40104,
    "query": 40107,
    "color": 0,
    "city": "Leicester",
    "description": null,
    "game": 1489630,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774443118,
    "score": 0,
    "last_online": 1777666877,
    "icon": null,
    "name": "s03g's server",
    "connect": "154.51.80.251:40104",
    "request": "154.51.80.251:40107",
    "map": "30 Islands",
    "gamemode": "Carrier Command 2",
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 4,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1772229950,
    "last_update": 1777666877,
    "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": "en",
    "parked": false,
    "app": {
      "id": 1539359,
      "steam_id": 1489630,
      "name": "Carrier Command 2",
      "url": "carrier-command-2"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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