Minecraft
This server is offline. powered by aternos.org 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11492552json
{
"response": {
"steam_id": null,
"domain": "0D8602Bull10.aternos.me",
"id": 11492552,
"ip": "193.56.156.16",
"port": 24542,
"query": 24542,
"color": 0,
"city": "Neckargemünd",
"description": null,
"game": 9000034,
"owner": 194878,
"boosts": 1,
"last_offline": 1779041015,
"score": 0,
"last_online": 1779042020,
"icon": null,
"name": "This server is offline. powered by aternos.org",
"connect": "0D8602Bull10.aternos.me:24542",
"request": "193.56.156.16:24542",
"map": null,
"gamemode": null,
"version": "§4● Offline",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": null,
"private": null,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1778966316,
"last_update": 1779042020,
"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": 159,
"language": "ru",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": {
"username": "yaroslav_zubov",
"avatar": "a6db1d72-2079-4683-b7d8-ffdd1010d1ba.jpg",
"last_online": 1778971312
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11492552");
$data = json_decode($json, true);
var_dump($data);