BLOCK62 [1.21.10] 🪓] выживание [⛏] 🗡] кастомные вещи [ [ 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": null,
"domain": "play.block62.tech",
"id": 10895845,
"ip": "5.83.140.29",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1780600413,
"last_online": 1780282312,
"icon": null,
"name": "BLOCK62 [1.21.10] 🪓] выживание [⛏] 🗡] кастомные вещи [ [",
"connect": "play.block62.tech:25565",
"request": "5.83.140.29:25565",
"map": null,
"gamemode": null,
"version": "Velocity 1.7.2-1.21.11",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": null,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1768383719,
"last_update": 1780600413,
"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": 5292,
"language": "de",
"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/10895845");
$data = json_decode($json, true);
var_dump($data);