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

text
https://api.gamemonitoring.ru/servers/16230731
json
{
  "response": {
    "os": "l",
    "region": -1,
    "product": "valheim",
    "gametype": "g=1.0.12,n=40,m=40\\=1_10:2_0:3_4:4_3:5_0\\,0\\=70\\,1\\=200\\,14\\=120\\,15\\=140\\,4\\=150\\,3\\=200\\,17\\,18",
    "dedicated": true,
    "steam_id": "90292683720996885",
    "domain": null,
    "id": 16230731,
    "ip": "81.31.148.208",
    "port": 2460,
    "query": 2461,
    "project_id": null,
    "color": 0,
    "city": "Милан",
    "description": null,
    "game": 892970,
    "boosts": 1,
    "last_offline": 1789289037,
    "last_online": 1789311609,
    "icon": null,
    "name": "OPEN PVP RP",
    "connect": "81.31.148.208:2460",
    "request": "81.31.148.208:2461",
    "map": "OPEN PVP RP",
    "gamemode": null,
    "version": "1.0.0.0",
    "numplayers": 3,
    "maxplayers": 10,
    "bots": 0,
    "secured": false,
    "private": null,
    "country": "IT",
    "status": true,
    "votes": 0,
    "points": 44,
    "add_date": 1789289037,
    "last_update": 1789311609,
    "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": 3442,
    "language": "it",
    "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/16230731");
$data = json_decode($json, true);
var_dump($data);