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

text
https://api.gamemonitoring.in/servers/11305362
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 62677,
    "world_seed": 1337,
    "world_size": 3000,
    "steam_id": "90286583198791689",
    "domain": null,
    "id": 11305362,
    "ip": "194.69.160.95",
    "port": 28039,
    "query": 28041,
    "color": 0,
    "city": "City of London",
    "description": "![PulseRUST | 2.5x | Beginner Friendly | SOLO/DUO/TRIO/QUAD](https://www.dropbox.com/scl/fi/0jer80ajn7s8qiw1kli8q/Untitled.png?rlkey=36mbtri54gudkdyon3h0catgg&st=tzvzdfhm&dl=1)\nWelcome to PulseRUST\r\n50% Upkeep\r\nCustom Maps\r\nCustom LootTables\r\nCustom OUTPOST\r\n\r\nWipe: Every Friday at 19:00/7PM London Time (BST)\r\n\r\nServer Rules\r\nNo hacking, cheating or exploiting\r\nNo griefing\r\nNo racism, hate speech or harassment\r\nNo advertising\r\nNo teaming outside your team limit (S/D/T/Q)\r\nNo impersonating admins or staff\r\nAdmins have the final say\r\n\r\nHave fun & good luck!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779782007,
    "last_online": 1780578038,
    "icon": null,
    "name": "PulseRUST | 2.5x | Beginner Friendly | SOLO/DUO/TRIO/QUAD",
    "connect": "194.69.160.95:28039",
    "request": "194.69.160.95:28041",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 250,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774592884,
    "last_update": 1780578038,
    "banned": false,
    "wipe": 1778342179,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4521,
    "language": "en",
    "parked": false,
    "app": {
      "id": 252490,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11305362");
$data = json_decode($json, true);
var_dump($data);