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

text
https://api.gamemonitoring.ru/servers/17587336
json
{
  "response": {
    "add_date": 1790881227,
    "app": {
      "id": 1626086,
      "name": "ARK: Survival Ascended",
      "steam_id": 2399830,
      "url": "ark-survival-ascended"
    },
    "color": 0,
    "connect": "217.114.196.89:5840",
    "country": "US",
    "domain": null,
    "game": 2399830,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 17587336,
    "ip": "217.114.196.89",
    "language": "en",
    "last_update": 1791117539,
    "map": "LostColony_WP",
    "maxplayers": 20,
    "name": "BashBros",
    "numplayers": 0,
    "official": false,
    "points": 30,
    "port": 5840,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 5840,
    "request": "217.114.196.89:5840",
    "secured": null,
    "status": true,
    "steam_id": null,
    "version": "94.15",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": null,
    "city": "Майами",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": null,
    "last_online": 1791117539,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 52580,
    "wipe_period": null,
    "isPve": true,
    "modIds": "940022,947033,953154,931874,933099,1188679",
    "dayTime": 1137,
    "battleye": true,
    "gameMode": "TestGameMode_C",
    "clusterId": null,
    "sessionId": "0dcc608273ae48c0b566478bb72043c9",
    "modFileIds": "6570908,6950581,6571081,8636502,8482342,8854914",
    "sessionName": "BashBros - (v94.15)",
    "platformType": "PC+WINGDK"
  }
}

Примеры кода

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