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

text
https://api.gamemonitoring.ru/servers/17049709
json
{
  "response": {
    "add_date": 1790233768,
    "app": {
      "id": 12,
      "name": "Rust",
      "steam_id": 252490,
      "url": "rust"
    },
    "color": 0,
    "connect": "5.143.31.25:28015",
    "country": "RU",
    "domain": null,
    "game": 252490,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 17049709,
    "ip": "5.143.31.25",
    "language": "ru",
    "last_update": 1790494968,
    "map": "Barren",
    "maxplayers": 15,
    "name": "Local server 261",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 28015,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 28015,
    "request": "5.143.31.25:28015",
    "secured": true,
    "status": false,
    "steam_id": "90293330036213767",
    "version": "2332",
    "votes": 0,
    "wipe": 1790232803,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Владивосток",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1790494968,
    "last_online": 1790233742,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 21998,
    "wipe_period": null,
    "os": "w",
    "oxide": true,
    "modded": true,
    "region": -1,
    "product": "252490",
    "gametype": "mp15,cp0,ptrak,qp0,v2332,h955eb6e7,stok,born1790232803,gmrust,oxide,modded",
    "map_name": "Barren",
    "dedicated": true,
    "queueplayers": 0
  }
}

Примеры кода

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