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

text
https://api.gamemonitoring.in/servers/9092327
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 46841,
    "world_seed": 1337,
    "world_size": 5000,
    "steam_id": "90285182831445017",
    "domain": null,
    "id": 9092327,
    "ip": "51.161.140.148",
    "port": 28014,
    "query": 28015,
    "color": 0,
    "city": "North Sydney",
    "description": "AusCopter 1000x Battlefield | The #1 Rust Battlefield Experience!\r\n\r\nFeatures:\r\n- Maze\r\n- Shopfronts\r\n- Custom Maps for diverse PVP\r\n- Event, Leaderboards and Stats\r\n- Unlimited Minicopters\r\n- Spawn Full Metal AK\r\n- Much more found in game!\r\n\r\nVIP Store: https://auscopter.gg\r\nDiscord: https://discord.gg/auscopter",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776977598,
    "score": 0,
    "last_online": 1777658421,
    "icon": null,
    "name": "AUSCOPTER.GG 1000x [ BATTLEFIELD | MAZE | SHOPFRONTS | MINI ]",
    "connect": "51.161.140.148:28014",
    "request": "51.161.140.148:28015",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 8,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 64,
    "add_date": 1747121385,
    "last_update": 1777658421,
    "banned": false,
    "wipe": 1777583272,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1359,
    "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/9092327");
$data = json_decode($json, true);
var_dump($data);