Minecraft

API für Погрузитесь в мир, где нет никаких правил и ограничений! Стройте, разрушайте, сражайтесь и выживайте, как вам вздумается. Никаких ограничений – только полная свобода действий! #SakuraMeet

JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11492613
json
{
  "response": {
    "steam_id": null,
    "domain": "x2.qwertyx.host",
    "id": 11492613,
    "ip": "188.127.241.233",
    "port": 25869,
    "query": 25869,
    "color": 0,
    "city": "Moscow",
    "description": null,
    "game": 9000034,
    "owner": 195254,
    "boosts": 1,
    "last_offline": 1780550017,
    "last_online": 1779878417,
    "icon": null,
    "name": "Погрузитесь в мир, где нет никаких правил и ограничений! Стройте, разрушайте, сражайтесь и выживайте, как вам вздумается. Никаких ограничений – только полная свобода действий! #SakuraMeet",
    "connect": "x2.qwertyx.host:25869",
    "request": "188.127.241.233:25869",
    "map": null,
    "gamemode": "Survival",
    "version": "Purpur 1.21.11",
    "numplayers": 0,
    "maxplayers": 60,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779113335,
    "last_update": 1780550017,
    "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": 5713,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": {
      "username": "pavshiyw",
      "avatar": "no.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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