The Meat Grinder PvE/PvP 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 51,
"fps_avg": 49,
"entities_count": 121438,
"world_seed": 23718720,
"world_size": 4500,
"steam_id": "90286625575396364",
"domain": null,
"id": 11639199,
"ip": "66.51.99.21",
"port": 28050,
"query": 28051,
"color": 0,
"city": "Dallas",
"description": "\nServer under construction (Still Playable)\r\n This isn't Your average PVE server. Here everything is a challenge from farming to monuments to Events. Everything wants to kill you. Most Zombies have guns, Purge the last weekend before wipe.\r\n\r\n 3X Gather\r\n Skill tree\r\n Convoy\r\n Water treatment Event\r\n Junkyard\r\n Zombies\r\n Horde\r\n Purge\r\n Teleports\r\n Backpacks\r\n And more!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595663,
"last_online": 1780656630,
"icon": null,
"name": "The Meat Grinder PvE/PvP",
"connect": "66.51.99.21:28050",
"request": "66.51.99.21:28051",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779917956,
"last_update": 1780656630,
"banned": false,
"wipe": 1780596095,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5308,
"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/11639199");
$data = json_decode($json, true);
var_dump($data);