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

text
https://api.gamemonitoring.in/servers/11756804
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 11756804,
    "ip": "49.231.43.216",
    "port": 27015,
    "query": 27015,
    "project_id": null,
    "color": 0,
    "city": "Phaya Thai",
    "description": "[{\"id\":\"oSGKbIEsWj\",\"type\":\"header\",\"data\":{\"text\":\"‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ★ ★★ What did my server have? ★ ★ ★\",\"level\":2}},{\"id\":\"rrrhzleb2c\",\"type\":\"list\",\"data\":{\"style\":\"unordered\",\"meta\":{},\"items\":[{\"content\":\"VIP system non-P2W for survivor decoration\",\"meta\":{},\"items\":[]}]}},{\"id\":\"iUhhHQAy9u\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/b07218e4-e85d-4665-91ab-7283be7718b7.webp\"}}},{\"id\":\"fA3VQ4eLoZ\",\"type\":\"list\",\"data\":{\"style\":\"unordered\",\"meta\":{},\"items\":[{\"content\":\"Survivor auto respawn when died\",\"meta\":{},\"items\":[]}]}},{\"id\":\"OS2fR5ZeNp\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/770daf6b-da3b-42f1-baa3-d9fae46010c6.webp\"}}},{\"id\":\"KBZuemhNVc\",\"type\":\"list\",\"data\":{\"style\":\"unordered\",\"meta\":{},\"items\":[{\"content\":\"Permanent shop system (Survivor upgrade buff. weapon upgrade, etc.)\",\"meta\":{},\"items\":[]}]}},{\"id\":\"khZDSbjIdq\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/d48c4dd2-207f-413c-9fa7-1d4c0c077c28.webp\"}}},{\"id\":\"K7_Q6KNaoF\",\"type\":\"list\",\"data\":{\"style\":\"unordered\",\"meta\":{},\"items\":[{\"content\":\"Temporary shop system (Include passive buff, teammate buff, specials buff, etc.)\",\"meta\":{},\"items\":[]}]}},{\"id\":\"56hWOBzyee\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/0618745f-8ba7-4dd6-b239-758f704d001e.webp\"}}},{\"id\":\"dNEi1s9RHq\",\"type\":\"list\",\"data\":{\"style\":\"unordered\",\"meta\":{},\"items\":[{\"content\":\"Rank system for small competitive and unlock special reward\",\"meta\":{},\"items\":[]}]}},{\"id\":\"kOA2SBaYCi\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/0c31ed5c-ffc6-4ccd-b571-1930806b0173.webp\"}}},{\"id\":\"7mAQs0otXO\",\"type\":\"list\",\"data\":{\"style\":\"unordered\",\"meta\":{},\"items\":[{\"content\":\"20+ unique perks that limit only one per player\",\"meta\":{},\"items\":[]}]}},{\"id\":\"ewp6WpGlDU\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/523a776b-2e10-4956-a18b-81d6786961da.webp\"}}},{\"id\":\"lLTpc9rCFp\",\"type\":\"list\",\"data\":{\"style\":\"unordered\",\"meta\":{},\"items\":[{\"content\":\"Legendary item to increase player convenience and rare to obtain\",\"meta\":{},\"items\":[]}]}},{\"id\":\"lkNq-rjPmR\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/c0f71f75-a14b-476e-b864-b3afa57b7eb2.webp\"}}},{\"id\":\"iivYmqOA9j\",\"type\":\"list\",\"data\":{\"style\":\"unordered\",\"meta\":{},\"items\":[{\"content\":\"Raid event to increase game more challenging\",\"meta\":{},\"items\":[]}]}},{\"id\":\"xMEVtx1qx6\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/9e0cf9b4-139a-4508-bfe9-72d03f0f4dce.webp\"}}},{\"id\":\"75EB0CrxoJ\",\"type\":\"list\",\"data\":{\"style\":\"unordered\",\"meta\":{},\"items\":[{\"content\":\"Game difficulty scale depend on player amount (Can also be change via vote)\",\"meta\":{},\"items\":[]}]}},{\"id\":\"yIAtr53Tpk\",\"type\":\"list\",\"data\":{\"style\":\"unordered\",\"meta\":{},\"items\":[{\"content\":\"and more..\",\"meta\":{},\"items\":[]}]}}]",
    "game": 550,
    "owner": 199206,
    "boosts": 1,
    "last_offline": 1780775209,
    "last_online": 1780826057,
    "icon": null,
    "name": "FRZ-COOP - Normal | Official Camp",
    "connect": "49.231.43.216:27015",
    "request": "49.231.43.216:27015",
    "map": "c1m1_hotel",
    "gamemode": "Left 4 Dead 2",
    "version": "2.2.4.3",
    "numplayers": 0,
    "maxplayers": 20,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "TH",
    "status": true,
    "votes": 0,
    "points": 90,
    "add_date": 1780775209,
    "last_update": 1780826057,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 2,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 26,
    "language": "th",
    "parked": false,
    "app": {
      "id": 11,
      "steam_id": 550,
      "name": "Left 4 Dead 2",
      "url": "left-4-dead-2"
    },
    "server_owner": {
      "username": "s_goku",
      "avatar": "24cca8a8-24bc-4b66-9fe7-925bc72fc4fa.webp"
    },
    "mods": [
      {
        "id": 2325,
        "name": "sourcemod"
      },
      {
        "id": 2326,
        "name": "metamod"
      },
      {
        "id": 2376,
        "name": "FRZ plugin"
      }
    ],
    "disabled_modules": []
  }
}

कोड उदाहरण

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