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

text
https://api.gamemonitoring.in/servers/11435843
json
{
  "response": {
    "fps": 10,
    "fps_avg": 10,
    "entities_count": 152806,
    "world_seed": 4143025682,
    "world_size": 4500,
    "steam_id": "90284680140486667",
    "domain": null,
    "id": 11435843,
    "ip": "41.76.213.189",
    "port": 28035,
    "query": 28036,
    "color": 0,
    "city": "Sandton",
    "description": "![Rust CPT 10x PVE Domination | RaidBases | Kits](https://www.dropbox.com/scl/fi/sgq5tp1wybjzphp17htup/RUST-CPT-GAMING-flyer.jpg?rlkey=agp0k8rx6r6dk9oox7q6bwb6g&st=4204n9m4&dl=1)\n# Welcome to Domination - Enjoy your Stay # This is a non-toxic PVE (player vs environment)10x Server  # The server map wipes bi-weekly, Force wipe monthly # Reminder: Don't be a DOO$, be LEKKA # Maximum team size is 8, no allies # The Owner is active and does not play, only trolls ;-) # Mods: Roam Bradley, Zombies, Bots, Raid Bases, Bosses, Skins..... # Have fun and enjoy the PVE journey and experience",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776652400,
    "score": 0,
    "last_online": 1776876020,
    "icon": null,
    "name": "Rust CPT 10x PVE Domination | RaidBases | Kits",
    "connect": "41.76.213.189:28035",
    "request": "41.76.213.189:28036",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 6,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "ZA",
    "status": true,
    "votes": 0,
    "points": 65,
    "add_date": 1774977206,
    "last_update": 1776876020,
    "banned": false,
    "wipe": 1776366296,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1162,
    "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/11435843");
$data = json_decode($json, true);
var_dump($data);