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

text
https://api.gamemonitoring.in/servers/11305536
json
{
  "response": {
    "fps": 106,
    "fps_avg": 95,
    "entities_count": 103765,
    "world_seed": 1,
    "world_size": 4250,
    "steam_id": "90284553557940237",
    "domain": null,
    "id": 11305536,
    "ip": "172.105.58.178",
    "port": 25567,
    "query": 25568,
    "color": 0,
    "city": "Mumbai",
    "description": "![[IND] ChronoRust| 2x Vanilla+| Mon | No team limit |Asia](https://iili.io/fiZCqAX.jpg)\n[IND] ChronoRust | 2x Vanilla+ | Mondays [Asia]\r\n Vanilla | No Team Limit | 4000 Map\r\n \r\n Classic PvP – Competitive & Fair\r\n No Junk Loot (Clean Loot Tables)\r\n DDoS Protected | Stable Performance\r\n \r\n Weekly Map Wipe – Every Mon\r\n Monthly BP Wipe – Force Wipe Only\r\n Daily Restart – 7:00 AM IST\r\n \r\n Inspired by top-tier servers like Stevious & Upsurge\r\n Join our Discord: https://discord.gg/w8PBPNxeaZ",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776845553,
    "score": 0,
    "last_online": 1776450024,
    "icon": null,
    "name": "[IND] ChronoRust| 2x Vanilla+| Mon | No team limit |Asia",
    "connect": "172.105.58.178:25567",
    "request": "172.105.58.178:25568",
    "map": "Wiped 3 days ago",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "IN",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1774592889,
    "last_update": 1776845553,
    "banned": false,
    "wipe": 1776146552,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 9315,
    "language": "hi",
    "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/11305536");
$data = json_decode($json, true);
var_dump($data);