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

text
https://api.gamemonitoring.in/servers/11607436
json
{
  "response": {
    "fps": 159,
    "fps_avg": 152,
    "entities_count": 112477,
    "world_seed": 124545,
    "world_size": 4500,
    "steam_id": "90286588695292932",
    "domain": null,
    "id": 11607436,
    "ip": "121.218.136.72",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Sydney",
    "description": "![[AU] All-Star Rust](https://all-star-rust.s3.ap-southeast-2.amazonaws.com/asr-banner-26.jpg)\nUnmodified Vanilla Rust Experience \r\n - Large Map Size: 4500. \r\n - Pure Vanilla. \r\n - Giant Excavator ✓. \r\n - Train Yard ✓.  \r\n - Map & BP Wipe: Monthly (First Thursday 7PM UK Time). \r\n - Server Daily Reboot: 4:45am AEST/AEDT. \r\n ♡",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780563869,
    "last_online": 1780593035,
    "icon": null,
    "name": "[AU] All-Star Rust",
    "connect": "121.218.136.72:28015",
    "request": "121.218.136.72:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779915506,
    "last_update": 1780593035,
    "banned": false,
    "wipe": 1780564099,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5476,
    "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/11607436");
$data = json_decode($json, true);
var_dump($data);