Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/738625
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 738625,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "[{\"id\":\"cd55c3CwoQ\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/98001628-b97c-4390-a0c7-ac80064a97de.jpg\"}}},{\"id\":\"qgdh93bj6\",\"type\":\"paragraph\",\"data\":{\"text\":\"☠︎︎Добро пожаловать на сервер рейдерских войн\"}},{\"id\":\"h4_krGTX7q\",\"type\":\"paragraph\",\"data\":{\"text\":\"Рейты X2-УВЕЛИЧЕННЫЕ СТАКИ\"}},{\"id\":\"sDwKZjn6pg\",\"type\":\"paragraph\",\"data\":{\"text\":\"КИТЫ\"}},{\"id\":\"vwhroeHi0I\",\"type\":\"paragraph\",\"data\":{\"text\":\"СКИНЫ\"}},{\"id\":\"Lu60_9AhI8\",\"type\":\"paragraph\",\"data\":{\"text\":\"ИВЕНТЫ\"}},{\"id\":\"DJ4zcccvE-\",\"type\":\"paragraph\",\"data\":{\"text\":\"АВТОАПГРЕЙД\"}},{\"id\":\"ArTI_my6BZ\",\"type\":\"paragraph\",\"data\":{\"text\":\"ТЕЛЕПОРТАЦИЯ\"}},{\"id\":\"U7UoKfA6c_\",\"type\":\"paragraph\",\"data\":{\"text\":\"ТУРЕЛИ БЕЗ ЭЛЕКТРИЧЕСТВА\"}},{\"id\":\"bF7C09x8_5\",\"type\":\"paragraph\",\"data\":{\"text\":\"Отзывчивая администрация\\n Наш сайт https://raiderwars.gamestores.app/\\nДискорд сервера https://discord.gg/NKkVSUWY7S\"}}]",
    "game": 252490,
    "owner": 131354,
    "boosts": 1,
    "last_offline": 1764309661,
    "last_online": 1763413211,
    "icon": null,
    "name": "RaiderWars-X2[PVP[ИВЕНТЫ[КЛАН[ВАЙП[06.11]",
    "connect": null,
    "request": null,
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": null,
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1675099332,
    "last_update": 1764309661,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 13388,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "OPASNYY",
      "avatar": "0caba46c-5a24-40bc-a4fe-dc91200d6417.jpg"
    },
    "mods": [
      {
        "id": 979,
        "name": "Kits"
      },
      {
        "id": 926,
        "name": "IQChat"
      },
      {
        "id": 1653,
        "name": "Code Lock"
      },
      {
        "id": 50,
        "name": "Clans"
      },
      {
        "id": 1431,
        "name": "Teleportation"
      },
      {
        "id": 947,
        "name": "IQRates"
      },
      {
        "id": 1225,
        "name": "Raidable Bases"
      },
      {
        "id": 1578,
        "name": "XStatistics"
      },
      {
        "id": 1576,
        "name": "XSkinMenu"
      }
    ],
    "disabled_modules": []
  }
}

Kod örnekleri

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