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

text
https://api.gamemonitoring.in/servers/11777223
json
{
  "response": {
    "steam_id": "90286945783082009",
    "domain": null,
    "id": 11777223,
    "ip": "96.46.182.254",
    "port": 22200,
    "query": 22210,
    "project_id": null,
    "color": 0,
    "city": "Ashburn",
    "description": null,
    "game": 1857950,
    "owner": null,
    "boosts": 1,
    "last_offline": 1781316233,
    "last_online": 1781338819,
    "icon": null,
    "name": "VEIN End of Days - PVP.PVE - 24.7 - WIPED 6.12 - discord.gg/guM",
    "connect": "96.46.182.254:22200",
    "request": "96.46.182.254:22210",
    "map": "Champlain Valley",
    "gamemode": "VEIN",
    "version": "0.024h1",
    "numplayers": 8,
    "maxplayers": 22,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 79,
    "add_date": 1780998735,
    "last_update": 1781338819,
    "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": 8,
    "language": "en",
    "parked": false,
    "app": {
      "id": 1530675,
      "steam_id": 1857950,
      "name": "VEIN",
      "url": "vein"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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