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

text
https://api.gamemonitoring.in/servers/11252453
json
{
  "response": {
    "steam_id": "90284364979213334",
    "domain": null,
    "id": 11252453,
    "ip": "51.195.94.156",
    "port": 1080,
    "query": 1081,
    "color": 0,
    "city": "Limburg an der Lahn",
    "description": "[{\"id\":\"ioHd2PkHC9\",\"type\":\"paragraph\",\"data\":{\"text\":\"Негабаритный Конвой и зона здорового маразма.\"}},{\"id\":\"UzhbfxpJ1j\",\"type\":\"paragraph\",\"data\":{\"text\":\"Discord https://rtr.lt/discord\"}},{\"id\":\"HKEm-auTgM\",\"type\":\"paragraph\",\"data\":{\"text\":\"Powered by Eugenijus.lt\"}}]",
    "game": 1369670,
    "owner": 76313,
    "boosts": 1,
    "last_offline": 1775645527,
    "score": 0,
    "last_online": 1776216610,
    "icon": null,
    "name": "RUS Raccoon Team | eugenijus.lt/discord |",
    "connect": "51.195.94.156:1080",
    "request": "51.195.94.156:1081",
    "map": null,
    "gamemode": "Unreal Test!",
    "version": "0.7.18+1",
    "numplayers": 3,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 2,
    "points": 100,
    "add_date": 1773923889,
    "last_update": 1776216610,
    "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": "ru",
    "parked": false,
    "app": {
      "id": 1564980,
      "steam_id": 1369670,
      "name": "Motor Town: Behind The Wheel",
      "url": "motor-town-behind-the-wheel"
    },
    "server_owner": {
      "username": "eugenijus",
      "avatar": "9c3de5ac-ae7f-4a8e-9c9b-076bce76b989.jpg",
      "last_online": 1776083253
    },
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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