Minecraft
➣ ᴘᴇʀsᴏɴʟᴀɴᴅ | 1.16.5-1.21.6 | ᴀʜᴀᴘxия ● Вайп был 1 апреля пеппе! | ᴘᴇʀsᴏɴʟᴀɴᴅ.ʀᴜ | Играй! ● id:486713 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10815227json
{
"response": {
"steam_id": null,
"domain": "personland.ru",
"id": 10815227,
"ip": "62.122.213.242",
"port": 25592,
"query": 25592,
"color": 0,
"city": "Moscow",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1776016999,
"score": 0,
"last_online": 1776247851,
"icon": null,
"name": "➣ ᴘᴇʀsᴏɴʟᴀɴᴅ | 1.16.5-1.21.6 | ᴀʜᴀᴘxия ● Вайп был 1 апреля пеппе! | ᴘᴇʀsᴏɴʟᴀɴᴅ.ʀᴜ | Играй! ● id:486713",
"connect": "personland.ru:25592",
"request": "62.122.213.242:25592",
"map": null,
"gamemode": null,
"version": "Paper 1.16.5",
"numplayers": 0,
"maxplayers": 2026,
"bots": 0,
"secured": null,
"private": null,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1767109810,
"last_update": 1776247851,
"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": 4473,
"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/10815227");
$data = json_decode($json, true);
var_dump($data);