━━━━━━━━━━━━━━╷LemonCloud╷━━━━━━━━━━━━━━« «» » Skyblock | Factions | Survival | Prison | Creative 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/594213
json
{
  "response": {
    "steam_id": null,
    "domain": "play.lemoncloud.net",
    "id": 594213,
    "ip": "104.234.169.167",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "city": "Ashburn",
    "description": "",
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775545963,
    "score": null,
    "last_online": 1776082813,
    "icon": null,
    "name": "━━━━━━━━━━━━━━╷LemonCloud╷━━━━━━━━━━━━━━« «» » Skyblock | Factions | Survival | Prison | Creative",
    "connect": "play.lemoncloud.net:25565",
    "request": "104.234.169.167:25565",
    "map": null,
    "gamemode": "FML",
    "version": "Requires MC 1.20 - 26.1",
    "numplayers": 474,
    "maxplayers": 574,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 63,
    "add_date": 1669242043,
    "last_update": 1776082813,
    "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": 132,
    "language": "en",
    "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.cn/servers/594213");
$data = json_decode($json, true);
var_dump($data);