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

text
https://api.gamemonitoring.in/servers/3987408
json
{
  "response": {
    "fps": 98,
    "fps_avg": 98,
    "entities_count": 82313,
    "world_seed": 1337,
    "world_size": 3800,
    "steam_id": "90286547331801108",
    "domain": null,
    "id": 3987408,
    "ip": "15.204.131.158",
    "port": 16055,
    "query": 16056,
    "color": 0,
    "city": "Reston",
    "description": "![Rust N Time 5x Vanilla+ | Quads Small Map](https://rustntime.com/images/banner_5x_quad.jpg)\nLast Wipe: May 7th|Full Wipe ~ Next Wipe: Thursday June 4th|Full Wipe\r\n\r\nModded, Accelerated Vanilla 5x Rust\r\n\r\nMonthly Map and BP Wipe | Max 4 to a group\r\n\r\nFor more information and rules join our Discord https://discord.gg/HNqUvKz \r\n\r\nBy clicking JOIN SERVER you hereby agree and will abide by our servers rules.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780472068,
    "last_online": 1780545634,
    "icon": null,
    "name": "Rust N Time 5x Vanilla+ | Quads Small Map",
    "connect": "15.204.131.158:16055",
    "request": "15.204.131.158:16056",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1714242169,
    "last_update": 1780545634,
    "banned": false,
    "wipe": 1778553739,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2322,
    "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/3987408");
$data = json_decode($json, true);
var_dump($data);