::::: Survival-Games.cz ::::: [1.8-1.21.8] NEW! ➲ Lobby & LEVEL UPDATE! 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": null,
"domain": "mc.survival-games.cz",
"id": 8462328,
"ip": "5.39.202.29",
"port": 25565,
"query": 25565,
"project_id": null,
"color": 0,
"city": "Mašťov",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1777200237,
"last_online": 1780875719,
"icon": null,
"name": "::::: Survival-Games.cz ::::: [1.8-1.21.8] NEW! ➲ Lobby & LEVEL UPDATE!",
"connect": "mc.survival-games.cz:25565",
"request": "5.39.202.29:25565",
"map": null,
"gamemode": "FML",
"version": "1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16,",
"numplayers": 0,
"maxplayers": 4000,
"bots": 0,
"secured": null,
"private": null,
"country": "CZ",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1743887458,
"last_update": 1780875719,
"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": 3050,
"language": "cs",
"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/8462328");
$data = json_decode($json, true);
var_dump($data);