V Rising
VerexiArcheron's Stream Anniversary Community Server 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11365491json
{
"response": {
"steam_id": "90284534245248010",
"domain": null,
"id": 11365491,
"ip": "31.220.96.122",
"port": 29900,
"query": 29915,
"color": 0,
"city": "Orangeburg",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1776264672,
"score": 0,
"last_online": 1776441028,
"icon": null,
"name": "VerexiArcheron's Stream Anniversary Community Server",
"connect": "31.220.96.122:29900",
"request": "31.220.96.122:29915",
"map": "VRisingWorld",
"gamemode": "4a784b79-d700-49e1-8427-b1d4888f7545",
"version": "0.0.0.1",
"numplayers": 15,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1774595192,
"last_update": 1776441028,
"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": 19,
"language": "en",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11365491");
$data = json_decode($json, true);
var_dump($data);