Minecraft
WitherSouls ✼✼ || RankUp [1.8x] || Minigames [1.16+] || 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/6188807json
{
"response": {
"steam_id": null,
"domain": null,
"id": 6188807,
"ip": "146.235.46.238",
"port": 25565,
"query": 25565,
"color": 0,
"city": "São Paulo",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1775764962,
"score": 0,
"last_online": 1776834086,
"icon": null,
"name": "WitherSouls ✼✼ || RankUp [1.8x] || Minigames [1.16+] ||",
"connect": "146.235.46.238:25565",
"request": "146.235.46.238:25565",
"map": null,
"gamemode": "FML",
"version": "Waterfall 1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12.x, 1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x",
"numplayers": 0,
"maxplayers": 500,
"bots": 0,
"secured": null,
"private": null,
"country": "BR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1728259920,
"last_update": 1776834086,
"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": 2119,
"language": "pt",
"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/6188807");
$data = json_decode($json, true);
var_dump($data);