Terc's Ultra Hardcore PvE Paradise | Enjoy the agony! 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 29,
"fps_avg": 29,
"entities_count": 138245,
"world_seed": 0,
"world_size": 4500,
"steam_id": "90286585544524812",
"domain": null,
"id": 7469166,
"ip": "89.213.214.25",
"port": 28045,
"query": 28046,
"color": 0,
"city": "Ashburn",
"description": "\nWelcome to Terc's Ultra Hardcore PvE Paradise, where kindness and challenge coexist!\r\n\\t-Ultra Hardcore PvE mode\r\n\\t-Lots of zombies\r\n\\t-Helpful player community\r\n\\t-Numerous ease of life mods\r\n\\t-Numerous server events\r\n\\t-Numerous monument NPC mobs\r\n\\t-Find us on Discord at https://discord.gg/KdS788fxdg\r\nPlease see the rules in /info",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780470420,
"last_online": 1780580437,
"icon": null,
"name": "Terc's Ultra Hardcore PvE Paradise | Enjoy the agony!",
"connect": "89.213.214.25:28045",
"request": "89.213.214.25:28046",
"map": "Procedural Map",
"gamemode": "Hardcore",
"version": "2625",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1739234888,
"last_update": 1780580437,
"banned": false,
"wipe": 1778247131,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3080,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/7469166");
$data = json_decode($json, true);
var_dump($data);