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

text
https://api.gamemonitoring.in/servers/11731582
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 44396,
    "world_seed": 1,
    "world_size": 3000,
    "steam_id": "90286559394171917",
    "domain": null,
    "id": 11731582,
    "ip": "66.51.99.22",
    "port": 28010,
    "query": 28011,
    "color": 0,
    "city": "Dallas",
    "description": "![HWS Nexus NA | 2x | Max 8](https://rust-homeworld.net/cdn/server/header.png)\nHomeworld Server | Long-Term Focused\r\n\r\nWipes 1st and 3rd Thursday Every Month\r\n\r\nFeatures:\r\n- Quests\r\n- Daily Events\r\n- Integrated Web\r\n-Interface\r\n- Orbital Cargo Drone for Cross-Wipe Persistence (÷ weapons, ammo, and armor)\r\n- And much more!\r\n\r\nVisit our website at https://rust-homeworld.net or join our Discord at https://discord.hws-rust.com.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780497241,
    "last_online": 1780530629,
    "icon": null,
    "name": "HWS Nexus NA | 2x | Max 8",
    "connect": "66.51.99.22:28010",
    "request": "66.51.99.22:28011",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780411278,
    "last_update": 1780530629,
    "banned": false,
    "wipe": 1780353695,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 6144,
    "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/11731582");
$data = json_decode($json, true);
var_dump($data);