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

text
https://api.gamemonitoring.ru/servers/12660103
json
{
  "response": {
    "dedicated": false,
    "gametype": null,
    "os": "w",
    "product": "rFactor",
    "region": -1,
    "steam_id": "90289661800141841",
    "domain": null,
    "id": 12660103,
    "ip": "72.90.83.88",
    "port": 34297,
    "query": 27016,
    "project_id": null,
    "color": 0,
    "city": "Liverpool",
    "description": null,
    "game": 339790,
    "owner": null,
    "boosts": 1,
    "last_offline": 1785297001,
    "last_online": 1785463200,
    "icon": null,
    "name": "Magic House",
    "connect": "72.90.83.88:34297",
    "request": "72.90.83.88:27016",
    "map": "Bullring",
    "gamemode": null,
    "version": "1",
    "numplayers": 0,
    "maxplayers": 102,
    "bots": 0,
    "secured": false,
    "private": null,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1785008118,
    "last_update": 1785463200,
    "ban_reason": null,
    "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": 6,
    "language": "en",
    "parked": false,
    "app": {
      "id": 5024,
      "steam_id": 339790,
      "name": "rFactor",
      "url": "rfactor"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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