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

text
https://api.gamemonitoring.in/servers/11018298
json
{
  "response": {
    "fps": 46,
    "fps_avg": 40,
    "entities_count": 129407,
    "world_seed": 706096190,
    "world_size": 4500,
    "steam_id": 90285692200702980,
    "domain": null,
    "id": 11018298,
    "ip": "66.51.99.82",
    "port": 28055,
    "query": 28056,
    "color": 0,
    "city": "Dallas",
    "description": "COME ON IN TO FUN LAND!\r\nSOLO/DUO | NO CHEATERS | NO GRIEFING\r\n\r\n--- SERVER FEATURES ---\r\n• Teleportation (/tpr, /home)\r\n• Backpacks (/backpack)\r\n• Remover Tool (/remove)\r\n• Auto Doors & Base Upgrades\r\n• Quick Smelt & Furnace Splitter\r\n• Better Loot & Economics\r\n• True PVE & No Decay\r\n• Events: Convoy, Harbor, Automated Events https://discord.gg/GsGXggVC",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778177585,
    "score": 0,
    "last_online": 1778685018,
    "icon": null,
    "name": "FUN LAND",
    "connect": "66.51.99.82:28055",
    "request": "66.51.99.82:28056",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1769944483,
    "last_update": 1778685018,
    "banned": false,
    "wipe": 1778177801,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2387,
    "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/11018298");
$data = json_decode($json, true);
var_dump($data);