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

text
https://api.gamemonitoring.ru/servers/16590094
json
{
  "response": {
    "os": "l",
    "region": -1,
    "product": "valheim",
    "gametype": "g=1.0.15,n=40,m=",
    "dedicated": true,
    "steam_id": "90293006993934358",
    "domain": null,
    "id": 16590094,
    "ip": "185.237.216.164",
    "port": 2456,
    "query": 2457,
    "project_id": null,
    "color": 0,
    "city": "Украинка",
    "description": null,
    "game": 892970,
    "boosts": 1,
    "last_offline": 1789756855,
    "last_online": 1789781738,
    "icon": null,
    "name": "OPIR",
    "connect": "185.237.216.164:2456",
    "request": "185.237.216.164:2457",
    "map": "OPIR",
    "gamemode": null,
    "version": "1.0.15",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": false,
    "private": null,
    "country": "UA",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1789575885,
    "last_update": 1789781738,
    "ban_reason": null,
    "banned": false,
    "hidden": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 53919,
    "language": "uk",
    "parked": false,
    "app": {
      "id": 34967,
      "steam_id": 892970,
      "name": "Valheim",
      "url": "valheim"
    },
    "mods": [],
    "disabled_modules": [],
    "map_url": null
  }
}

Примеры кода

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