The Cryptid Hollars PVE/PVP (Warmode) 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 55,
"fps_avg": 54,
"entities_count": 133125,
"world_seed": 237913280,
"world_size": 4800,
"steam_id": "90286629960512532",
"domain": null,
"id": 4261953,
"ip": "156.236.84.31",
"port": 28035,
"query": 28036,
"project_id": null,
"color": 0,
"city": "Dallas",
"description": "\nThe Cryptid Hollars is a PVE-PVP (Warmode)\r\nFriendly Community with Active Admins\r\nWipes Monthly including Blueprints\r\nKits, Personal Attack Helis & Bradleys to call in with Levels\r\nDynamic Monuments, Armored Train, Harbor Event\r\nCraftable Base Recyclers, Remover tool, Bike Drivers\r\nIncreased Animal Populations, Instant Water, Skill Tree\r\nSkins, Sil, Stackable Chests, Dungeons, Store Robbery\r\nKeep your stuff upon death\r\nLots of Events",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780659857,
"last_online": 1780679436,
"icon": null,
"name": "The Cryptid Hollars PVE/PVP (Warmode)",
"connect": "156.236.84.31:28035",
"request": "156.236.84.31:28036",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 75,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1715849115,
"last_update": 1780679436,
"banned": false,
"wipe": 1780596649,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3469,
"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/4261953");
$data = json_decode($json, true);
var_dump($data);