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

text
https://api.gamemonitoring.ru/servers/19686869
json
{
  "response": {
    "add_date": 1793888434,
    "app": {
      "id": 12,
      "name": "Rust",
      "steam_id": 252490,
      "url": "rust"
    },
    "color": 0,
    "connect": "84.15.186.143:28015",
    "country": "LT",
    "domain": null,
    "game": 252490,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 19686869,
    "ip": "84.15.186.143",
    "language": "lt",
    "last_update": 1794607281,
    "map": "Custom Map",
    "maxplayers": 2,
    "name": "My Build Server",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 28015,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 28017,
    "request": "84.15.186.143:28017",
    "secured": true,
    "status": false,
    "steam_id": "90296787262914575",
    "version": "2635",
    "votes": 0,
    "wipe": 1793888265,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Вильнюс",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794607281,
    "last_online": 1793903881,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 18992,
    "wipe_period": null,
    "os": "w",
    "region": -1,
    "product": "252490",
    "gametype": "mp2,cp0,ptrak,qp0,$r?,v2635,born1793888265,gmrust,cs168909,ts8",
    "map_name": "Custom Map",
    "dedicated": true,
    "queueplayers": 0
  }
}

Примеры кода

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