API для KosfaRix | Ванильные сервера Майнкрафт ↪ Запой жив?

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

text
https://api.gamemonitoring.ru/servers/10490723
json
{
  "response": {
    "steam_id": null,
    "domain": "mc.kosfarix.ru",
    "id": 10490723,
    "ip": "95.182.122.68",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "city": "Moscow",
    "description": null,
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775469729,
    "score": 0,
    "last_online": 1776098446,
    "icon": null,
    "name": "KosfaRix | Ванильные сервера Майнкрафт ↪ Запой жив?",
    "connect": "mc.kosfarix.ru:25565",
    "request": "95.182.122.68:25565",
    "map": null,
    "gamemode": "FML",
    "version": "BungeeCord 1.8.x-1.21.x",
    "numplayers": 1,
    "maxplayers": 2025,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1761122511,
    "last_update": 1776098446,
    "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": 3614,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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