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

text
https://api.gamemonitoring.in/servers/11502046
json
{
  "response": {
    "fps": 184,
    "fps_avg": 187,
    "entities_count": 77212,
    "world_seed": 1337,
    "world_size": 3499,
    "steam_id": "90286536370441231",
    "domain": null,
    "id": 11502046,
    "ip": "81.167.215.251",
    "port": 49051,
    "query": 49057,
    "color": 0,
    "city": "Kopervik",
    "description": "![[EU] Hotel Companions | PvE Casual | Modded | Events](https://files.catbox.moe/9rlt2l.png)\nPVP EVENTSWelcome to Hotel Companions - a casual PvE/community Rust server.\r\n\r\nMain features:\r\n- Hotel rooms with Code Lock rentals and companion/NPC support\r\n- Raidable Bases for PvE raid action\r\n- Starter kits and helpful onboarding commands\r\n- RP/ServerRewards shop and activity rewards\r\n- Better loot, stack sizes and quality-of-life plugins\r\n- Home/TPR/TPA teleporting for easier travel\r\n\r\nEnglish community server. Be friendly, respect other players, and ask in chat if you need help.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780470420,
    "last_online": 1780552826,
    "icon": null,
    "name": "[EU] Hotel Companions | PvE Casual | Modded | Events",
    "connect": "81.167.215.251:49051",
    "request": "81.167.215.251:49057",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NO",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1779207188,
    "last_update": 1780552826,
    "banned": false,
    "wipe": 1780438352,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1508,
    "language": "no",
    "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/11502046");
$data = json_decode($json, true);
var_dump($data);