JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/10351409
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 10351409,
    "ip": null,
    "port": null,
    "query": null,
    "project_id": null,
    "color": 0,
    "city": null,
    "description": "![ETERNITY DUO | MAX 2 | X2](https://pic.survivalhost.org/images/2025/09/21/SOCETANIE-10.png)\nETERNITY DUO | MAX 2 | X2\r\n\r\n>> ВАЙП ПО ПЯТНИЦАМИ В 15:00 ПО МСК\r\n\r\n>> МАКСИМАЛЬНО ИГРОКОВ В КОМАНДЕ - 2\r\n\r\n>> РЕЙТЫ Х2, СТАКИ ПО 3К\r\n\r\n>> УСКОРЕННЫЙ КРАФТ В 2 РАЗА, ПЛАВКА В ПЕЧКАХ",
    "game": 252490,
    "owner": 136733,
    "boosts": 1,
    "last_offline": 1764222660,
    "last_online": 1763326811,
    "icon": null,
    "name": "CHABIKvanila",
    "connect": null,
    "request": null,
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": null,
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1758534674,
    "last_update": 1764222660,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12605,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "eternityrust",
      "avatar": "no.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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