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

text
https://api.gamemonitoring.ru/servers/16803875
json
{
  "response": {
    "add_date": 1789917801,
    "app": {
      "id": 34967,
      "name": "Valheim",
      "steam_id": 892970,
      "url": "valheim"
    },
    "color": 0,
    "connect": "67.68.7.29:2456",
    "country": "CA",
    "domain": null,
    "game": 892970,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 16803875,
    "ip": "67.68.7.29",
    "language": "en",
    "last_update": 1790660705,
    "map": "The Boys Head To Valhalla",
    "maxplayers": 10,
    "name": "The Boys Head To Valhalla",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 2456,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 2457,
    "request": "67.68.7.29:2457",
    "secured": false,
    "status": false,
    "steam_id": "90293110692667402",
    "version": "1.0.12",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Монреаль",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1790660705,
    "last_online": 1789970989,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 77547,
    "wipe_period": null,
    "os": "w",
    "region": -1,
    "product": "valheim",
    "gametype": "g=1.0.12,n=40,m=40\\=1_9:2_6:3_5:4_1:5_0\\,3\\=0\\,19\\,13\\=15\\,4\\=200\\,0\\=85\\,1\\=150\\,14\\=110\\,15\\=120",
    "dedicated": true
  }
}

Примеры кода

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