[IN DEVELOPMENT] Smingus' Z Island 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 80,
"fps_avg": 122,
"entities_count": 24151,
"world_seed": 2546254,
"world_size": 2250,
"steam_id": "90286566494734362",
"domain": null,
"id": 11744587,
"ip": "152.53.37.237",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Manassas",
"description": "![[IN DEVELOPMENT] Smingus' Z Island](https://i.postimg.cc/Bndx8xmT/content.png)\nAn in-development, not-ready-for-play zombie server. I'd love for you to come check stuff out and keep up with the development and show early support!\r\n\r\nI will be providing all community members exclusive benefits for being around from day 1.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780518709,
"last_online": 1780558232,
"icon": null,
"name": "[IN DEVELOPMENT] Smingus' Z Island",
"connect": "152.53.37.237:28015",
"request": "152.53.37.237:28017",
"map": "Custom Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780518709,
"last_update": 1780558232,
"banned": false,
"wipe": 1779728305,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6147,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11744587");
$data = json_decode($json, true);
var_dump($data);