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

text
https://api.gamemonitoring.in/servers/11771141
json
{
  "response": {
    "fps": 120,
    "fps_avg": 119,
    "entities_count": 60692,
    "world_seed": 1337,
    "world_size": 3000,
    "steam_id": "90286952994210826",
    "domain": null,
    "id": 11771141,
    "ip": "85.10.192.179",
    "port": 28015,
    "query": 28017,
    "project_id": null,
    "color": 0,
    "city": "Nuremberg",
    "description": "![Rustacore.com - EU Main](https://www.dropbox.com/scl/fi/vr4w0bjvq5c03s22vbe56/rustacore_1024x512.png?rlkey=4azedz2dn4brh2386bioptpnm&st=fw0marww&dl=1)\nWipe Schedule:\r\n    Map - Thursday 4PM CET\r\n    BPs - Force Wipe\r\n\r\nRules:\r\n    - No cheating/ scripting\r\n    - No intentional bug abuse\r\n    - No EAC / FP banned alts\r\n    - No ban evading\r\n    - No racism\r\n\r\nAltora.it hosting high performance\r\nActive non playing admins\r\nMaps carefully picked\r\n\r\nDiscord: discord.gg/rustacore",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1781187267,
    "last_online": 1781358026,
    "icon": null,
    "name": "Rustacore.com - EU Main",
    "connect": "85.10.192.179:28015",
    "request": "85.10.192.179:28017",
    "map": "Custom Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 14,
    "maxplayers": 300,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 63,
    "add_date": 1780996874,
    "last_update": 1781358026,
    "banned": false,
    "wipe": 1781187249,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1649,
    "language": "de",
    "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/11771141");
$data = json_decode($json, true);
var_dump($data);