JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11644639
json
{
  "response": {
    "fps": 100,
    "fps_avg": 99,
    "entities_count": 28236,
    "world_seed": 778859653,
    "world_size": 2500,
    "steam_id": "90286548767045661",
    "domain": null,
    "id": 11644639,
    "ip": "77.91.89.10",
    "port": 28990,
    "query": 28991,
    "color": 0,
    "city": "Tambov",
    "description": "![Shelter [Классика х2 | Для новичков]](https://www.dropbox.com/scl/fi/gdpyip0wayp8tuetn81x5/maxresdefault_with_bgc.png?rlkey=w0umc96ts2d65t2a0rxk5xo0l&st=ig44fgcj&dl=1)\nКлассический сервер с небольшими улучшениями для комфортной игры,Добыча ресурсов х2,Размер стаков увелечены х3,Активная администрация;Присоединяйтесь к нам https://vk.com/club233538910",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780240447,
    "last_online": 1780555421,
    "icon": null,
    "name": "Shelter [Классика х2 | Для новичков]",
    "connect": "77.91.89.10:28990",
    "request": "77.91.89.10:28991",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780177431,
    "last_update": 1780555421,
    "banned": false,
    "wipe": 1779098801,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5566,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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