<3 M A N T R A L A N D <3 AnonymousThe love is real, 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/9905940
json
{
  "response": {
    "steam_id": null,
    "domain": "play.mantraland.xyz",
    "id": 9905940,
    "ip": "66.245.171.186",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "city": "Pineville",
    "description": null,
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778555621,
    "score": 0,
    "last_online": 1778605276,
    "icon": null,
    "name": "<3 M A N T R A L A N D <3 AnonymousThe love is real,",
    "connect": "play.mantraland.xyz:25565",
    "request": "66.245.171.186:25565",
    "map": null,
    "gamemode": null,
    "version": "Paper 1.21.6",
    "numplayers": 0,
    "maxplayers": 1738,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1753912253,
    "last_update": 1778605276,
    "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": 3082,
    "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/9905940");
$data = json_decode($json, true);
var_dump($data);