Unturned
Axuremn Life RP 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11173086json
{
"response": {
"steam_id": 85568392935732500,
"domain": null,
"id": 11173086,
"ip": "198.96.88.251",
"port": 27215,
"query": 27215,
"color": 0,
"city": "Secaucus",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1775680326,
"score": 0,
"last_online": 1776798639,
"icon": "https://i.imgur.com/IPk9hLw.png",
"name": "Axuremn Life RP",
"connect": "198.96.88.251:27215",
"request": "198.96.88.251:27215",
"map": "Axuremn RP 2.1",
"gamemode": "Drugs, Police, Factions, Shops, and more",
"version": "3.26.2.2",
"numplayers": 6,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 40,
"add_date": 1772229137,
"last_update": 1776798639,
"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": 38,
"language": "en",
"parked": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11173086");
$data = json_decode($json, true);
var_dump($data);