▂▅CovertSpot Beta▅▂ └ Уже вечер!☀ Будем играть до полуночи? 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10634956
json
{
  "response": {
    "steam_id": null,
    "domain": "play.covertspot.ru",
    "id": 10634956,
    "ip": "185.25.16.63",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "city": "Kurgan",
    "description": null,
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777881823,
    "score": 0,
    "last_online": 1778601095,
    "icon": null,
    "name": "▂▅CovertSpot Beta▅▂ └ Уже вечер!☀ Будем играть до полуночи?",
    "connect": "play.covertspot.ru:25565",
    "request": "185.25.16.63:25565",
    "map": null,
    "gamemode": null,
    "version": "Leaf 1.21.6",
    "numplayers": 0,
    "maxplayers": 20,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1763714319,
    "last_update": 1778601095,
    "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": 3421,
    "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.cn/servers/10634956");
$data = json_decode($json, true);
var_dump($data);