Minecraft
API für [ 『永恒回来啦』 ] > 您好!加入我们的服务器吧!
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/8966660json
{
"response": {
"steam_id": null,
"domain": "1.mcyyy.com",
"id": 8966660,
"ip": "103.219.31.56",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Hangzhou",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1769486469,
"score": 0,
"last_online": 1776102026,
"icon": null,
"name": "[ 『永恒回来啦』 ] > 您好!加入我们的服务器吧!",
"connect": "1.mcyyy.com:25565",
"request": "103.219.31.56:25565",
"map": null,
"gamemode": null,
"version": "Velocity 1.7.2-1.21.1",
"numplayers": 26,
"maxplayers": 999,
"bots": 0,
"secured": null,
"private": null,
"country": "CN",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1746788266,
"last_update": 1776102026,
"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": 1795,
"language": "zh",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/8966660");
$data = json_decode($json, true);
var_dump($data);