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

text
https://api.gamemonitoring.ru/servers/1683260
json
{
  "response": {
    "steam_id": "90284384300420120",
    "domain": null,
    "id": 1683260,
    "ip": "213.239.216.253",
    "port": 27960,
    "query": 27960,
    "color": 0,
    "city": "Nuremberg",
    "description": "",
    "game": 282440,
    "owner": null,
    "boosts": 1,
    "last_offline": 1772629294,
    "score": null,
    "last_online": 1776241862,
    "icon": null,
    "name": "PQL FFA @ qw.servegame.org",
    "connect": "213.239.216.253:27960",
    "request": "213.239.216.253:27960",
    "map": "obs3dm5",
    "gamemode": "Free For All",
    "version": "1069 linux-x64 Jun  3 2016 20:53:50",
    "numplayers": 0,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1698946751,
    "last_update": 1776241862,
    "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": 85,
    "language": "de",
    "parked": false,
    "app": {
      "id": 138,
      "steam_id": 282440,
      "name": "Quake Live",
      "url": "quake-live"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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