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

text
https://api.gamemonitoring.in/servers/11159012
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 144616,
    "world_seed": 2091051984,
    "world_size": 4000,
    "steam_id": "90286577029370891",
    "domain": null,
    "id": 11159012,
    "ip": "66.51.97.52",
    "port": 28035,
    "query": 28036,
    "color": 0,
    "city": "City of London",
    "description": "![[EU] SCAVENGERSHAVEN.NET 10x No BPs [KITS|SHOP]](https://www.scavengershaven.net/img/SHHeaderImage2.png)\n▼SERVER FEATURES▼\r\n - 10x Gather Rates, Recycle & Smelting Speeds!\r\n - Improved Loot. Enhanced Stack Sizes!\r\n - Clans, Teams, Kits, Remove, MyMini\r\n - Skinner\r\n - BetterTC & BGrade\r\n - Server Rewards\r\n\r\n▼SERVER RAIDING RULES▼\r\n - No Teaming, No Merge Raiding!\r\n\r\n▼SERVER INFORMATION▼\r\n - Website: https://scavengershaven.net or SCAV.GG \r\n - Discord: https://discord.gg/AjJQudCd9v \r\n\r\n▼SERVER WIPE TIMES▼\r\n - 2x Week\r\n - Every Monday & Friday 3:00PM (GMT)\r\n\r\nType /info to bring up the Welcome Screen.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780111416,
    "last_online": 1780567233,
    "icon": null,
    "name": "[EU] SCAVENGERSHAVEN.NET 10x No BPs [KITS|SHOP]",
    "connect": "66.51.97.52:28035",
    "request": "66.51.97.52:28036",
    "map": "SCAV.GG",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1772228122,
    "last_update": 1780567233,
    "banned": false,
    "wipe": 1780326695,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4129,
    "language": "en",
    "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/11159012");
$data = json_decode($json, true);
var_dump($data);