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

text
https://api.gamemonitoring.in/servers/11596786
json
{
  "response": {
    "fps": 106,
    "fps_avg": 99,
    "entities_count": 83842,
    "world_seed": 1,
    "world_size": 3800,
    "steam_id": "90286556482080795",
    "domain": null,
    "id": 11596786,
    "ip": "51.79.228.99",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Singapore",
    "description": "![[SEA] Rust Bandits 2x vanilla](https://r2.rustbandits.com/rustbandits_banner.png)\nWelcome to Rust Bandits server \r\n \r\n Server Info \r\n - Wipe Friday@6PM \r\n - Map Size: 3800 \r\n - BP Wipe every 2 weeks (2nd week + Force Wipe) \r\n \r\n Server Rules \r\n - No toxic chat or voice \r\n - No cheating \r\n - No teaming \r\n \r\n Join our Discord for updates \r\n https://discord.gg/fQFGYkWNXx",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780490639,
    "last_online": 1780552835,
    "icon": null,
    "name": "[SEA] Rust Bandits 2x vanilla",
    "connect": "51.79.228.99:28015",
    "request": "51.79.228.99:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 60,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SG",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779358598,
    "last_update": 1780552835,
    "banned": false,
    "wipe": 1780066441,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5284,
    "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/11596786");
$data = json_decode($json, true);
var_dump($data);