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

text
https://api.gamemonitoring.in/servers/10957641
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 332900,
    "world_seed": 1337,
    "world_size": 3750,
    "steam_id": "90284328311532557",
    "domain": null,
    "id": 10957641,
    "ip": "62.233.59.69",
    "port": 28015,
    "query": 28010,
    "color": 0,
    "city": "New York",
    "description": "Welcome to Hollow Servers, the heart of modded rust\r\n\r\n\\t - 3x Gather Rate\r\n\\t - Max Team: 3\r\n\\t - Custom Loot Tables\r\n\\t - Tier 1 BPs unlocked\r\n\\t - Fullbase Workbench\r\n \\t - Instant Crafting/Faster Smelting\r\n\\t - Recyclers at Dome, Oilrigs, Cargo, Ranches & Fishing Villages\r\n\\t - Long Days & Short Nights\r\n\\t - Automated Teaming Detection\r\n\\t - Custom AntiCheat",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775819524,
    "score": 0,
    "last_online": 1776231610,
    "icon": null,
    "name": "HollowServers.co 3x Solo/Duo/Trio |LootX3|Shared BPs",
    "connect": "62.233.59.69:28015",
    "request": "62.233.59.69:28010",
    "map": "Wiped - 35 Hours ago",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 201,
    "maxplayers": 250,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 115,
    "add_date": 1768741742,
    "last_update": 1776231610,
    "banned": false,
    "wipe": 1776103099,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 43,
    "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/10957641");
$data = json_decode($json, true);
var_dump($data);