Hytale
HytaleANZ HytaleANZ.com | Australia and New Zealand 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10972697json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10972697,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Sydney",
"description": null,
"game": 9000061,
"owner": 161785,
"boosts": 1,
"last_offline": 1771912254,
"score": 5,
"last_online": 1771023014,
"icon": null,
"name": "HytaleANZ HytaleANZ.com | Australia and New Zealand",
"connect": null,
"request": null,
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": false,
"private": null,
"country": "AU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1768991944,
"last_update": 1771912254,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 240,
"language": "en",
"parked": true,
"app": {
"id": 1665415,
"steam_id": 9000061,
"name": "Hytale",
"url": "hytale"
},
"server_owner": {
"username": "hytaleanz",
"avatar": "2349ad01-a007-4043-beb6-eb4d1a980ae2.png",
"last_online": 1770100324
},
"mods": [
{
"id": 1699,
"name": "LuckPerms"
}
],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10972697");
$data = json_decode($json, true);
var_dump($data);