JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11501982
json
{
  "response": {
    "fps": 182,
    "fps_avg": 166,
    "entities_count": 59982,
    "world_seed": 1499621652,
    "world_size": 3500,
    "steam_id": "90286611591330826",
    "domain": null,
    "id": 11501982,
    "ip": "37.230.137.36",
    "port": 20510,
    "query": 20511,
    "color": 0,
    "city": "Moscow",
    "description": "![SKYNET [X2 | NOLIMIT| TP | KITS | FPS+] |04.06]](https://i.ibb.co/y559KFV/Server-Image.jpg)\nДобро пожаловать на сервер SKYNET!\r\n\r\n● Рейты - х2\r\n● Увеличенные стаки\r\n● Моментальный крафт\r\n● Онлайн награды - COINS\r\n● Ивенты\r\n● Combat/Raid Block\r\n● Статистика\r\n● PVP/Raid маркеры\r\n● Отзывчивая администрация",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780611255,
    "last_online": 1780613433,
    "icon": null,
    "name": "SKYNET [X2 | NOLIMIT| TP | KITS | FPS+] |04.06]",
    "connect": "37.230.137.36:20510",
    "request": "37.230.137.36:20511",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 250,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207187,
    "last_update": 1780613433,
    "banned": false,
    "wipe": 1780611471,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4680,
    "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/11501982");
$data = json_decode($json, true);
var_dump($data);