V Rising
Coffin Break | Less Grind | Brutal 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10641462json
{
"response": {
"steam_id": 90285655267346460,
"domain": null,
"id": 10641462,
"ip": "170.23.51.185",
"port": 24043,
"query": 24044,
"color": 0,
"city": "Ashburn",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1774156928,
"score": 0,
"last_online": 1778606450,
"icon": null,
"name": "Coffin Break | Less Grind | Brutal",
"connect": "170.23.51.185:24043",
"request": "170.23.51.185:24044",
"map": "VRisingWorld",
"gamemode": "c78d8e11-9000-4e36-9d5d-c290ac354986",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1763716277,
"last_update": 1778606450,
"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": 1147,
"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/10641462");
$data = json_decode($json, true);
var_dump($data);