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

text
https://api.gamemonitoring.in/servers/11641865
json
{
  "response": {
    "steam_id": "90286444473968662",
    "domain": null,
    "id": 11641865,
    "ip": "176.57.135.134",
    "port": 33700,
    "query": 33715,
    "project_id": null,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780383255,
    "last_online": 1781272310,
    "icon": null,
    "name": "ConstantRage93s Fun Land",
    "connect": "176.57.135.134:33700",
    "request": "176.57.135.134:33715",
    "map": "VRisingWorld",
    "gamemode": "2e09543a-72c8-465d-9e7d-3890a9bad377",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1780065779,
    "last_update": 1781272310,
    "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": 2881,
    "language": "de",
    "parked": false,
    "app": {
      "id": 55075,
      "steam_id": 1604030,
      "name": "V Rising",
      "url": "v-rising"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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