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

text
https://api.gamemonitoring.ru/servers/4271683
json
{
  "response": {
    "steam_id": "90284573953215515",
    "domain": null,
    "id": 4271683,
    "ip": "176.9.120.184",
    "port": 2602,
    "query": 2603,
    "color": 0,
    "city": "Falkenstein",
    "description": "",
    "game": 107410,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776434605,
    "score": 0,
    "last_online": 1776456030,
    "icon": null,
    "name": "[GER/ENG] AVMG.EU | Tanoa | PVE | Exile Militarized | Hive",
    "connect": "176.9.120.184:2602",
    "request": "176.9.120.184:2603",
    "map": "tanoa",
    "gamemode": "Exile Hive @ AVMG.EU",
    "version": "2.20.153649",
    "numplayers": 15,
    "maxplayers": 30,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 53,
    "add_date": 1715855802,
    "last_update": 1776456030,
    "banned": 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": 79,
    "language": "de",
    "parked": false,
    "app": {
      "id": 61,
      "steam_id": 107410,
      "name": "Arma 3",
      "url": "arma-3"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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