Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11222604
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 11222604,
    "ip": "45.95.31.41",
    "port": 27415,
    "query": 27415,
    "color": 0,
    "city": "Moscow",
    "description": "[{\"id\":\"CJ_q_rwVDy\",\"type\":\"paragraph\",\"data\":{\"text\":\"Основная простая информация: Обычный паблик сервер что бы расслабится  и отдохнуть\\n\\n>╺ [Наш сайт] -  https://xgamecs.site/\\n>╺ [VKontakte] - https://vk.com/xgame_csgo\\n>╺ [Steam Group] - https://steamcommunity.com/groups/xgameopg\\n>╺ [Telegram] - https://t.me/xgame_ddos\\n\"}}]",
    "game": 4465480,
    "owner": 176008,
    "boosts": 16,
    "last_offline": 1774868530,
    "score": 5,
    "last_online": 1776579008,
    "icon": null,
    "name": "[XGAMECS.SITE] Only Mirage | !VIPTEST | !WS",
    "connect": "45.95.31.41:27415",
    "request": "45.95.31.41:27415",
    "map": "de_mirage",
    "gamemode": "Counter-Strike: Global Offensive",
    "version": "1.38.8.1",
    "numplayers": 0,
    "maxplayers": 25,
    "bots": 2,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 45,
    "points": 2400,
    "add_date": 1772917939,
    "last_update": 1776579008,
    "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": 8,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 1629104,
      "steam_id": 4465480,
      "name": "Counter-Strike: Global Offensive",
      "url": "counter-strike-global-offensive"
    },
    "server_owner": {
      "username": "morphling",
      "avatar": "6269fbd2-6925-4d1c-906d-a7292bbdb77a.jpg",
      "last_online": 1776495682
    },
    "mods": [
      {
        "id": 2189,
        "name": "LevelRanks"
      },
      {
        "id": 2190,
        "name": "Vips"
      },
      {
        "id": 2191,
        "name": "Admin"
      },
      {
        "id": 2188,
        "name": "Shop"
      },
      {
        "id": 2187,
        "name": "CheckCheats"
      },
      {
        "id": 2186,
        "name": "MIRAGE ONLY"
      }
    ],
    "disabled_modules": []
  }
}

Kod örnekleri

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