V Rising
Zed Hosting Official vRising 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/9906171json
{
"response": {
"steam_id": "90284119941152786",
"domain": null,
"id": 9906171,
"ip": "162.220.15.154",
"port": 33344,
"query": 33345,
"color": 0,
"city": "Secaucus",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1774156929,
"score": 0,
"last_online": 1775788222,
"icon": null,
"name": "Zed Hosting Official vRising",
"connect": "162.220.15.154:33344",
"request": "162.220.15.154:33345",
"map": "VRisingWorld",
"gamemode": "dcec6032-d75e-4682-9112-9971395ee71b",
"version": "0.0.0.1",
"numplayers": 3,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 36,
"add_date": 1753913177,
"last_update": 1775788222,
"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": 86,
"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/9906171");
$data = json_decode($json, true);
var_dump($data);