Valhalla Extreme Hardcore PVE 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 39674,
"world_seed": 0,
"world_size": 3000,
"steam_id": "90286585359128603",
"domain": null,
"id": 11607320,
"ip": "66.51.99.73",
"port": 28025,
"query": 28026,
"color": 0,
"city": "Dallas",
"description": "\n** This server is still under construction - it will not be in a playable state until July 2nd **\r\n\r\nThis server is focused on slow progression play. Most items are craftable from the workbench only and the intent is for the players to work to upgrade each item type (tools, guns, etc) in a goal oriented manner.\r\n\r\nEnglish only chat please.\r\n\r\nFollow the External Website link and join the discord to see a detailed rundown on how server progression is intended and server settings.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780280045,
"last_online": 1780567230,
"icon": null,
"name": "Valhalla Extreme Hardcore PVE",
"connect": "66.51.99.73:28025",
"request": "66.51.99.73:28026",
"map": "Procedural Map",
"gamemode": "Hardcore",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779915503,
"last_update": 1780567230,
"banned": false,
"wipe": 1780302350,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5527,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11607320");
$data = json_decode($json, true);
var_dump($data);