API для triada.gg [1.16-1.21] | Vanilla RTP 🗡 Duels | FFA → discord.gg/triada 🏹

Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами

JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/7151896
json
{
  "response": {
    "id": 7151896,
    "ip": "mc.triadamc.net",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "description": null,
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1753187575,
    "score": 0,
    "last_online": 1756276461,
    "icon": null,
    "name": "triada.gg [1.16-1.21] | Vanilla RTP 🗡 Duels | FFA → discord.gg/triada 🏹",
    "connect": "mc.triadamc.net:25565",
    "request": "185.189.255.112:25565",
    "map": null,
    "gamemode": null,
    "version": "§d§lᴛʀɪᴀᴅᴀ.ɢɢ §f[1.16-1.21]",
    "numplayers": 32,
    "maxplayers": 1111,
    "bots": 0,
    "secured": false,
    "private": null,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1736083627,
    "last_update": 1756276461,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft",
      "popular_maps_available": false
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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