प्रोग्राम, वेबसाइट और अन्य के लिए JSON

text
https://api.gamemonitoring.in/servers/5941809
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 74318,
    "world_seed": 1151431459,
    "world_size": 3500,
    "steam_id": "90286578988690446",
    "domain": null,
    "id": 5941809,
    "ip": "185.189.255.47",
    "port": 35300,
    "query": 35310,
    "color": 0,
    "city": "Moscow",
    "description": "![BadRust X50| PVP| NoLimit| Топовые плагины](https://gspics.org/images/2024/09/19/I0dZ8K.jpg)\nСервер Breaking Bad X50: Farm, PVP \r\n\r\nBadRust Аналог х50\r\n\r\nTP| PVP| Clan NoLimit| \r\n\r\nTop Plugin| Home| Craft no KD|  \r\n\r\nKit Save| Vip| Premium| Строительство| \r\n\r\nИвенты| Призы| Вайп 2 р/мес",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780444457,
    "last_online": 1780605033,
    "icon": null,
    "name": "BadRust X50| PVP| NoLimit| Топовые плагины",
    "connect": "185.189.255.47:35300",
    "request": "185.189.255.47:35310",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 300,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1726346775,
    "last_update": 1780605033,
    "banned": false,
    "wipe": 1780032416,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3287,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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