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

text
https://api.gamemonitoring.in/servers/8202029
json
{
  "response": {
    "steam_id": "90284522222062597",
    "domain": null,
    "id": 8202029,
    "ip": "94.130.77.165",
    "port": 27019,
    "query": 27019,
    "color": 0,
    "city": "Nuremberg",
    "description": null,
    "game": 630,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776351224,
    "score": 0,
    "last_online": 1776354058,
    "icon": null,
    "name": "[Alien Storm] - Blizzard - Ch1cken Server",
    "connect": "94.130.77.165:27019",
    "request": "94.130.77.165:27019",
    "map": "ASI-Jac1-LandingBay_01",
    "gamemode": "Ch1ckensCoop",
    "version": "7.1.0.9",
    "numplayers": 0,
    "maxplayers": 4,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1742393231,
    "last_update": 1776354058,
    "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": 2,
    "language": "de",
    "parked": false,
    "app": {
      "id": 26,
      "steam_id": 630,
      "name": "Alien Swarm",
      "url": "alien-swarm"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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