API für -]-- ⚡ MineLegacy ⚡ (1.8-26.1+) --[- ♫ Выживание ▪ BedWars ▪ Анархия ▪ Скайблок

JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/7427108
json
{
  "response": {
    "steam_id": null,
    "domain": "mlegacy.ru",
    "id": 7427108,
    "ip": "80.242.59.124",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "city": "Veliky Novgorod",
    "description": null,
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1772442093,
    "score": 1,
    "last_online": 1776090618,
    "icon": null,
    "name": "-]-- ⚡ MineLegacy ⚡ (1.8-26.1+) --[- ♫ Выживание ▪ BedWars ▪ Анархия ▪ Скайблок",
    "connect": "mlegacy.ru:25565",
    "request": "80.242.59.124:25565",
    "map": null,
    "gamemode": "VANILLA",
    "version": "NullCordX 1.8.x-1.21.x",
    "numplayers": 6909,
    "maxplayers": 15000,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 53,
    "add_date": 1739203427,
    "last_update": 1776090618,
    "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": 187,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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