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

text
https://api.gamemonitoring.in/servers/8170986
json
{
  "response": {
    "steam_id": "90285039442792459",
    "domain": null,
    "id": 8170986,
    "ip": "92.38.222.22",
    "port": 2362,
    "query": 2363,
    "color": 0,
    "city": "Moscow",
    "description": "[{\"id\":\"srRRmsT6SM\",\"type\":\"paragraph\",\"data\":{\"text\":\"Сервер в том виде, в котором его видят разработчики игры. Никаких модов.\"}},{\"id\":\"CYCagp9V4d\",\"type\":\"paragraph\",\"data\":{\"text\":\"Никаких вайпов\"}},{\"id\":\"UqONFTSXjl\",\"type\":\"paragraph\",\"data\":{\"text\":\"Высокий серверный FPS\"}},{\"id\":\"YDCx_TlCIJ\",\"type\":\"paragraph\",\"data\":{\"text\":\"Сервер в Москве\"}},{\"id\":\"8m6L2s8FPC\",\"type\":\"paragraph\",\"data\":{\"text\":\"VAC  Защита от читеров\"}},{\"id\":\"VZrPKtr_sx\",\"type\":\"linkTool\",\"data\":{\"link\":\"https://vk.com/dayzmotherussia\",\"meta\":{\"title\":\"ВКонтакте | ВКонтакте\",\"description\":null,\"image\":{\"url\":null}}}}]",
    "game": 221100,
    "owner": 111195,
    "boosts": 1,
    "last_offline": 1776424420,
    "score": 5,
    "last_online": 1777318811,
    "icon": null,
    "name": "MOTHER RUSSIA ┃ NO MODS ┃VANILLA┃1st Person Only",
    "connect": "92.38.222.22:2362",
    "request": "92.38.222.22:2363",
    "map": "chernarusplus",
    "gamemode": null,
    "version": "1.29.162510",
    "numplayers": 10,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 114,
    "add_date": 1742189656,
    "last_update": 1777318811,
    "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": 48,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 63,
      "steam_id": 221100,
      "name": "DayZ",
      "url": "dayz"
    },
    "server_owner": {
      "username": "PaulRichards",
      "avatar": "e2dfb241-c321-48fc-8fe2-69d051cf3630.jpg",
      "last_online": 1771275284
    },
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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