Apex Hosting Vampire Server 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": 90286508180793360,
"domain": null,
"id": 6006985,
"ip": "209.192.186.173",
"port": 25607,
"query": 25608,
"project_id": null,
"color": 0,
"city": "Miami",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780821209,
"last_online": 1780399413,
"icon": null,
"name": "Apex Hosting Vampire Server",
"connect": "209.192.186.173:25607",
"request": "209.192.186.173:25608",
"map": "VRisingWorld",
"gamemode": "17942350-f7f5-45bb-896d-5e514800dc1b",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 57,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1727395478,
"last_update": 1780821209,
"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": 3830,
"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/6006985");
$data = json_decode($json, true);
var_dump($data);