Unturned
ORIGINAL#4 ARENA 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11386417json
{
"response": {
"steam_id": "85568392936044305",
"domain": null,
"id": 11386417,
"ip": "77.110.104.20",
"port": 27017,
"query": 27017,
"color": 0,
"city": "Moscow",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1776811354,
"score": 0,
"last_online": 1776761486,
"icon": "https://i.imgur.com/GTgAR8J.png",
"name": "ORIGINAL#4 ARENA",
"connect": "77.110.104.20:27017",
"request": "77.110.104.20:27017",
"map": "Original Arena",
"gamemode": "★ BALISTICS ★ KITS ★ MAP ★",
"version": "3.26.2.2",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774596271,
"last_update": 1776811354,
"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": 786,
"language": "ru",
"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/11386417");
$data = json_decode($json, true);
var_dump($data);