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

text
https://api.gamemonitoring.in/servers/11664751
json
{
  "response": {
    "steam_id": "85568392936338865",
    "domain": null,
    "id": 11664751,
    "ip": "136.243.90.97",
    "port": 27015,
    "query": 27015,
    "color": 0,
    "city": "Falkenstein",
    "description": null,
    "game": 304930,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780179080,
    "last_online": 1780563710,
    "icon": "https://i.ibb.co/SwgsF1kp/9abdba56-4ad6-4700-a34c-8189c6126a39.png",
    "name": "[FOX][EU] [Semi-Vanilla] [PVP] [5x] California 2",
    "connect": "136.243.90.97:27015",
    "request": "136.243.90.97:27015",
    "map": "California2",
    "gamemode": "[VAULT] [TPA] [HOME] [MAXSKILLS] [NO P2W]",
    "version": "3.26.3.2",
    "numplayers": 0,
    "maxplayers": 32,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1780179080,
    "last_update": 1780563710,
    "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": 1392,
    "language": "de",
    "parked": false,
    "app": {
      "id": 48,
      "steam_id": 304930,
      "name": "Unturned",
      "url": "unturned"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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