Unturned
Season 3 Madia Life RP|PD|Release Candidate 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/6743331json
{
"response": {
"steam_id": "85568392924622730",
"domain": null,
"id": 6743331,
"ip": "81.230.129.4",
"port": 27021,
"query": 27021,
"color": 0,
"city": "Finspång",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1778563978,
"score": 0,
"last_online": 1778586708,
"icon": "https://i.imgur.com/epR7J8R.png",
"name": "Season 3 Madia Life RP|PD|Release Candidate",
"connect": "81.230.129.4:27021",
"request": "81.230.129.4:27021",
"map": "MADIASEASON3",
"gamemode": "Serious Life RP | Looking for staff & PD",
"version": "3.26.3.2",
"numplayers": 0,
"maxplayers": 36,
"bots": 0,
"secured": true,
"private": false,
"country": "SE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1732633465,
"last_update": 1778586708,
"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": 193,
"language": "sv",
"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/6743331");
$data = json_decode($json, true);
var_dump($data);