Rust
Relentless 2x|Vanilla++|Free VIP|Skinbox|6 max 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/5388123json
{
"response": {
"fps": 47,
"fps_avg": 44,
"entities_count": 106254,
"world_seed": 1337,
"world_size": 3750,
"steam_id": "90284176939373572",
"domain": null,
"id": 5388123,
"ip": "156.236.84.79",
"port": 28265,
"query": 28266,
"color": 0,
"city": "New York",
"description": "\nWelcome to Relentless Rust 2x Monthly!\r\n- 2x gather rates\r\n- 2x Quarries/Excav\r\n- 2x stack sizes\r\n- NO Turret Limit\r\n- Fast recycling\r\n- Instant barrels\r\n- Free Skinbox\r\n- 6 MAX Group Size\r\n-Monthly map wipes\r\n- BP Wipe every month\r\n- Active Admins\r\n- Discord: https://discord.gg/a2TafaZWHa",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775823121,
"score": 0,
"last_online": 1775887813,
"icon": null,
"name": "Relentless 2x|Vanilla++|Free VIP|Skinbox|6 max",
"connect": "156.236.84.79:28265",
"request": "156.236.84.79:28266",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 3,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1722420362,
"last_update": 1775887813,
"banned": false,
"wipe": 1775151918,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1182,
"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/5388123");
$data = json_decode($json, true);
var_dump($data);