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

text
https://api.gamemonitoring.in/servers/11677460
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 84058,
    "world_seed": 1337,
    "world_size": 3800,
    "steam_id": "90286548881212447",
    "domain": null,
    "id": 11677460,
    "ip": "75.88.197.39",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Macon",
    "description": "Bi-weekly Sunday Wipe - First Thursday - Force\r\n √ 3x: Craft Smelt Loot Gather Comp Scrap\r\n √ Long Days/Short Nights\r\n √ Recyclers at Monuments and Fishing\r\n √ Half Upkeep \r\n √ Extended Workbench",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780448062,
    "last_online": 1780550429,
    "icon": null,
    "name": "BBC BOYZ | Small | 3x",
    "connect": "75.88.197.39:28015",
    "request": "75.88.197.39:28016",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 20,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780216211,
    "last_update": 1780550429,
    "banned": false,
    "wipe": 1778231058,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5948,
    "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/11677460");
$data = json_decode($json, true);
var_dump($data);