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

text
https://api.gamemonitoring.in/servers/11435409
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 144275,
    "world_seed": 1337,
    "world_size": 5000,
    "steam_id": "90286603738577928",
    "domain": null,
    "id": 11435409,
    "ip": "82.153.70.74",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "City of London",
    "description": "![Rust4Noobs | PvE | Softcore | 25% Upkeep | Monthly | No BP Wipe](https://cdn.4noobs.co/R4N/4k-Wallpaper/4k-Wallpaper%202%20comp.png)\nWelcome to Rust4Noobs! \r\nLooking for a place to learn/chill out, hop on! \r\n \r\n Info: \r\n - Monthly map wipes. \r\n - Blueprints DO NOT wipe. \r\n - No team limit. \r\n - Inactive bases removed after 7 days. \r\n - VIP perks available @4noobs.co \r\n \r\n Rules: \r\n - No greifing. \r\n - Claim monuments before running them. \r\n - Stealing of ANY kind is not permitted \r\n - Do not",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780470419,
    "last_online": 1780596029,
    "icon": null,
    "name": "Rust4Noobs | PvE | Softcore | 25% Upkeep | Monthly | No BP Wipe",
    "connect": "82.153.70.74:28015",
    "request": "82.153.70.74:28017",
    "map": "discord.gg/r4n",
    "gamemode": "Softcore",
    "version": "2627",
    "numplayers": 1,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774977188,
    "last_update": 1780596029,
    "banned": false,
    "wipe": 1780595416,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1587,
    "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/11435409");
$data = json_decode($json, true);
var_dump($data);