Minecraft
Cryndel SMP Выживание · Экономика · Сообщество · Vanilla+ 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11131511json
{
"response": {
"steam_id": null,
"domain": "cryndel.ru",
"id": 11131511,
"ip": "37.27.166.14",
"port": 25919,
"query": 25919,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 9000034,
"owner": 187461,
"boosts": 1,
"last_offline": 1776078111,
"score": 0,
"last_online": 1776248411,
"icon": null,
"name": "Cryndel SMP Выживание · Экономика · Сообщество · Vanilla+",
"connect": "cryndel.ru:25919",
"request": "37.27.166.14:25919",
"map": null,
"gamemode": null,
"version": "Paper 1.21.11",
"numplayers": 13,
"maxplayers": 69,
"bots": 0,
"secured": null,
"private": null,
"country": "FI",
"status": true,
"votes": 6,
"points": 75,
"add_date": 1770397391,
"last_update": 1776248411,
"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": 49,
"language": "fi",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": {
"username": "wattopidi_ffer",
"avatar": "709ffc71-a8fb-4c5e-ad10-29add7e2d457.jpg",
"last_online": 1775998317
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11131511");
$data = json_decode($json, true);
var_dump($data);