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

text
https://api.gamemonitoring.in/servers/7770049
json
{
  "response": {
    "fps": 108,
    "fps_avg": 104,
    "entities_count": 141399,
    "world_seed": 2147483647,
    "world_size": 4500,
    "steam_id": "90286546155072543",
    "domain": null,
    "id": 7770049,
    "ip": "195.201.83.182",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Falkenstein",
    "description": "![[DE/GER] Gemütlich und freundlich PVE / PVP](https://bohramt.de/rust-logo.png)\nGerman only\r\nPVE und PVP\r\n/rules im chat\r\n/flag im Chat um PVP/PVE zu wählen\r\n/remove zum abreissen\r\n50% upkeep\r\n/vclaim für Fahrzeuge",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780127613,
    "last_online": 1780573233,
    "icon": null,
    "name": "[DE/GER] Gemütlich und freundlich PVE / PVP",
    "connect": "195.201.83.182:28015",
    "request": "195.201.83.182:28017",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1739890238,
    "last_update": 1780573233,
    "banned": false,
    "wipe": 1778176339,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2986,
    "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/7770049");
$data = json_decode($json, true);
var_dump($data);