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

text
https://api.gamemonitoring.in/servers/11665811
json
{
  "response": {
    "steam_id": "90286576084147222",
    "domain": null,
    "id": 11665811,
    "ip": "61.245.153.67",
    "port": 27001,
    "query": 27022,
    "color": 0,
    "city": "Adelaide",
    "description": "Faction battles, heavy combat, and pushing the game to its limits. Gameplay: •2× loot  • boosted mining • faster ship building  • less grind Region: AU/NZ (low ping) Server Specs: 265KF CPU • 128GB RAM  • 15TB NVMe M.2",
    "game": 445220,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780533859,
    "last_online": 1780657236,
    "icon": null,
    "name": "JaydenTechGaming Adelaide | AU/NZ PVP  AVORION Australian-hoste",
    "connect": "61.245.153.67:27001",
    "request": "61.245.153.67:27022",
    "map": "0",
    "gamemode": "Avorion",
    "version": "2.5.13.44140",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780179177,
    "last_update": 1780657236,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 337,
    "language": "en",
    "parked": false,
    "app": {
      "id": 172,
      "steam_id": 445220,
      "name": "Avorion",
      "url": "avorion"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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