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

text
https://api.gamemonitoring.in/servers/11261165
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 61782,
    "world_seed": 489545958,
    "world_size": 3850,
    "steam_id": "90286604148707347",
    "domain": null,
    "id": 11261165,
    "ip": "91.229.114.157",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Chicago",
    "description": "![RustPoint | NA Biweekly](https://www.dropbox.com/scl/fi/6h28boen4b2epbxb97gqa/Rustpoint-logov2-finished-1024-1-edited.png?rlkey=3eomquxine73odsgbf0zrvhib&st=y76950ak&dl=1)\nRustPoint | NA Biweekly \r\n\r\nWipe Schedule: \r\n - Map: Biweekly \r\n - Blueprints: Monthly at force wipe \r\n\r\nRules: \r\n - No hacking and script \r\n - No recently banned accounts \r\n - No ban evading \r\n - No racism  \r\n\r\n\r\n Join our Discord! https://discord.gg/HkPQyRxV7T",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780555468,
    "last_online": 1780599037,
    "icon": null,
    "name": "RustPoint | NA Biweekly",
    "connect": "91.229.114.157:28015",
    "request": "91.229.114.157:28017",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774555222,
    "last_update": 1780599037,
    "banned": false,
    "wipe": 1780596508,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3605,
    "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/11261165");
$data = json_decode($json, true);
var_dump($data);