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

text
https://api.gamemonitoring.in/servers/9500778
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 9500778,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Moscow",
    "description": "[\n    {\n        \"id\": \"RHaq_KBk55\",\n        \"type\": \"paragraph\",\n        \"data\": {\n            \"text\": \"• Наш сайт - https://projectpulse.ru/\\n• Наш ТГ - https://t.me/projpulse\\n• Наша ТГ беседа - https://t.me/proj_pulse\\n•Discord - discorg.gg/projectpulse\\nIP серверов:\\n• FPS+ MIRAGE - 45.136.205.82:27015\\n• AWP LEGO - 95.213.255.124:27315    \"\n        }\n    }\n]",
    "game": 730,
    "owner": 105286,
    "boosts": 1,
    "last_offline": 1773467486,
    "score": 4.6,
    "last_online": 1772569810,
    "icon": null,
    "name": "[CS2] Project Pulse - FPS+ WINTER MIRAGE | !KNIFE !SKINS",
    "connect": null,
    "request": null,
    "map": "de_mirage_christmas",
    "gamemode": "Counter-Strike 2",
    "version": null,
    "numplayers": 0,
    "maxplayers": 32,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1749723929,
    "last_update": 1773467486,
    "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": 13112,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 2,
      "steam_id": 730,
      "name": "Counter-Strike 2",
      "url": "counter-strike-2"
    },
    "server_owner": {
      "username": "soulz0r",
      "avatar": "30e039e6-f81f-45b7-aa74-4557243fd09f.jpg",
      "last_online": 1767877583
    },
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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