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

text
https://api.gamemonitoring.ru/servers/18799922
json
{
  "response": {
    "add_date": 1792626487,
    "app": {
      "id": 1569757,
      "name": "Sons Of The Forest",
      "steam_id": 1326470,
      "url": "sons-of-the-forest"
    },
    "color": 0,
    "connect": "83.246.146.194:8766",
    "country": "RU",
    "domain": null,
    "game": 1326470,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 18799922,
    "ip": "83.246.146.194",
    "language": "ru",
    "last_update": 1793180165,
    "map": "Normal",
    "maxplayers": 8,
    "name": "Sons Of The Forest Server (dedicated)",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 8766,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27016,
    "request": "83.246.146.194:27016",
    "secured": false,
    "status": false,
    "steam_id": "90295496244110347",
    "version": "0.11.3.0.0",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Барнаул",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1793180165,
    "last_online": 1792626487,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 2743,
    "wipe_period": null,
    "os": "w",
    "region": -1,
    "product": "Sons Of the Forest",
    "gametype": "V:SdhTQU1VtrKNP/b0xlZcH2YGgfI=,G:40e3f6ba-a267-4501-9dd2-3f9f94b14f14,LanOnly,",
    "dedicated": true
  }
}

Примеры кода

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