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

text
https://api.gamemonitoring.ru/servers/20158890
json
{
  "response": {
    "add_date": 1794765022,
    "app": {
      "id": 1626086,
      "name": "ARK: Survival Ascended",
      "steam_id": 2399830,
      "url": "ark-survival-ascended"
    },
    "color": 0,
    "connect": "31.214.196.57:6010",
    "country": "US",
    "domain": null,
    "game": 2399830,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 20158890,
    "ip": "31.214.196.57",
    "language": "en",
    "last_update": 1794767207,
    "map": "TheCenter_WP",
    "maxplayers": 20,
    "name": "Mizukikadwag",
    "numplayers": 2,
    "official": false,
    "points": 36,
    "port": 6010,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 6010,
    "request": "31.214.196.57:6010",
    "secured": null,
    "status": true,
    "steam_id": null,
    "version": "98.6",
    "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": 1794767207,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 4225,
    "wipe_period": null,
    "isPve": true,
    "modIds": "947033,1188679,942024,939874",
    "dayTime": 1,
    "battleye": true,
    "gameMode": "TestGameMode_C",
    "clusterId": null,
    "sessionId": "5b7b6fccc0dc4ac7b44b10d64b1a15e4",
    "modFileIds": "9416180,9416938,9416344,9417425",
    "sessionName": "Mizukikadwag - (v98.6)",
    "platformType": "PC+PS5+XSX+WINGDK"
  }
}

Примеры кода

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