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

text
https://api.gamemonitoring.in/servers/11126779
json
{
  "response": {
    "steam_id": "90286619411471383",
    "domain": null,
    "id": 11126779,
    "ip": "85.190.161.48",
    "port": 10700,
    "query": 10701,
    "project_id": null,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "Wanderspaß beschreibt die Freude am Wandern durch abwechslungsreiche Routen mit Naturerlebnissen, Spiel und Spaß, aber auch die generelle Freude am Thema Wandern. 2345 Es geht darum, die Natur zu genießen, fit zu bleiben und neue Wege zu entdecken.",
    "game": 221100,
    "owner": null,
    "boosts": 1,
    "last_offline": 1781265192,
    "last_online": 1780667436,
    "icon": null,
    "name": "Wanderspaß im Schnee",
    "connect": "85.190.161.48:10700",
    "request": "85.190.161.48:10701",
    "map": "sakhal",
    "gamemode": null,
    "version": "1.29.163047",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1770116639,
    "last_update": 1781265192,
    "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": 9736,
    "language": "de",
    "parked": false,
    "app": {
      "id": 63,
      "steam_id": 221100,
      "name": "DayZ",
      "url": "dayz"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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