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

text
https://api.gamemonitoring.in/servers/5590351
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 5590351,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "[{\"id\":\"K8V6zUNO2y\",\"type\":\"paragraph\",\"data\":{\"text\":\"**Наши сервера:**\"}},{\"id\":\"1FJdy1n-B_\",\"type\":\"paragraph\",\"data\":{\"text\":\"• ONLYMIRAGE: 85.119.149.17:27315\\n• AWP LEGO: 95.213.255.68:27015\"}},{\"id\":\"EJI1j6u3dG\",\"type\":\"paragraph\",\"data\":{\"text\":\"**Наши ссылки:**\"}},{\"id\":\"YRPpm5Sl_z\",\"type\":\"paragraph\",\"data\":{\"text\":\"  • Наш сайт: [](https://lumoria.ru/)[https://lumoria.ru/](https://lumoria.ru/)\\n• Наш Discord: [](https://discord.gg/JPCzDvEQhH)[https://discord.gg/JPCzDvEQhH](https://discord.gg/JPCzDvEQhH)\\n• Наша группа Steam: [](https://steamcommunity.com/groups/lumoria_cs2)[https://steamcommunity.com/groups/lumoria_cs2](https://steamcommunity.com/groups/lumoria_cs2)\"}}]",
    "game": 730,
    "owner": 54536,
    "boosts": 1,
    "last_offline": 1753435413,
    "last_online": 1749889224,
    "icon": null,
    "name": "Name is not set on server",
    "connect": null,
    "request": null,
    "map": "de_mirage",
    "gamemode": "Counter-Strike 2",
    "version": null,
    "numplayers": 0,
    "maxplayers": 24,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1723459542,
    "last_update": 1753435413,
    "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": 15501,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 2,
      "steam_id": 730,
      "name": "Counter-Strike 2",
      "url": "counter-strike-2"
    },
    "server_owner": {
      "username": "Lumoria",
      "avatar": "no.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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