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

text
https://api.gamemonitoring.in/servers/11260619
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 79104,
    "world_seed": 1337,
    "world_size": 3750,
    "steam_id": "90286603678144518",
    "domain": null,
    "id": 11260619,
    "ip": "141.98.157.197",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "City of London",
    "description": "![Rustadia | Solo | Monthly | EU | No BP Wipes](https://postimg.cc/ZC9kLm6t)\nMap - Monthly @ Force*\r\nBPs - Never Wipe\r\nDiscord: discord.gg/rustadia\r\nRules: rustadia.com/rules\r\n\r\nConfig:\r\n- Group Limit: Solo\r\n- 50% Upkeep\r\n- Map Size: 3500\r\n- Merged Outpost & Bandit\r\n\r\n*For 5-week wipes, we ask the community if they'd like an extra wipe.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780493041,
    "last_online": 1780596029,
    "icon": null,
    "name": "Rustadia | Solo | Monthly | EU | No BP Wipes",
    "connect": "141.98.157.197:28015",
    "request": "141.98.157.197:28017",
    "map": "discord.gg/rustadia",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 7,
    "maxplayers": 125,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774555199,
    "last_update": 1780596029,
    "banned": false,
    "wipe": 1780595366,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1874,
    "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/11260619");
$data = json_decode($json, true);
var_dump($data);