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

text
https://api.gamemonitoring.in/servers/5941345
json
{
  "response": {
    "fps": 60,
    "fps_avg": 57,
    "entities_count": 62797,
    "world_seed": 971379974,
    "world_size": 3500,
    "steam_id": "90286604282373144",
    "domain": null,
    "id": 5941345,
    "ip": "156.236.84.195",
    "port": 28050,
    "query": 28051,
    "color": 0,
    "city": "City of London",
    "description": "![Muffin PVE | RaidBases | Low Decay | Free Skins | UK](https://robjmaps.com/shared/uploads/Not_purge.png)\nEasy going friendly PvE server with a focus on environmental survival where you can relax and enjoy rust without getting your hard work stolen overnight.\r\n\r\nThis lightly modded server features:\r\n-2x Gather Rate\r\n-High Stack Sizes\r\n-Raidable Bases\r\n-Roaming Bots\r\n-Custom Maps\r\n-Free Skins\r\n-Friendly and Fair Staff",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596861,
    "last_online": 1780598003,
    "icon": null,
    "name": "Muffin PVE | RaidBases | Low Decay | Free Skins | UK",
    "connect": "156.236.84.195:28050",
    "request": "156.236.84.195:28051",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 6,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 0,
    "add_date": 1726346626,
    "last_update": 1780598003,
    "banned": false,
    "wipe": 1780596981,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 8794,
    "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/5941345");
$data = json_decode($json, true);
var_dump($data);