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

text
https://api.gamemonitoring.in/servers/11607386
json
{
  "response": {
    "fps": 212,
    "fps_avg": 210,
    "entities_count": 102531,
    "world_seed": 1619593185,
    "world_size": 4250,
    "steam_id": "90286593452960787",
    "domain": null,
    "id": 11607386,
    "ip": "172.240.14.243",
    "port": 25565,
    "query": 25567,
    "color": 0,
    "city": "Ashburn",
    "description": "Biscuit's Bunker 2X | Max 4 | Bi-Weekly Mon | No BP\r\n\r\n• Map every 2 weeks on Mondays. BPs never wipe.\r\n• TEAM LIMIT: Max 4 \r\n• 2X Gather, Fast Smelting, 50% Upkeep.\r\n• 10-Min Locked Crates & Short Nights.\r\n• Extra Recyclers at Fishing Villages & Small Monuments.\r\n• Weekly Discord Events (You vote, we host!).\r\n\r\nRules: Active Admin. No cheating, toxicity, or team bloating.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780353257,
    "last_online": 1780593032,
    "icon": null,
    "name": "Biscuit’s Bunker US Mondays 2X l No BP l Max 4",
    "connect": "172.240.14.243:25565",
    "request": "172.240.14.243:25567",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779915504,
    "last_update": 1780593032,
    "banned": false,
    "wipe": 1780353494,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5469,
    "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/11607386");
$data = json_decode($json, true);
var_dump($data);