Rust
Rusticated.com - US | 2x Vanilla | Thursday | Shared Bps | 4/9 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/7538456json
{
"response": {
"fps": 40,
"fps_avg": 40,
"entities_count": 103691,
"world_seed": 144387814,
"world_size": 4000,
"steam_id": "90284182819572744",
"domain": null,
"id": 7538456,
"ip": "185.248.134.108",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Dallas",
"description": "\nThursday weekly map wipes, Bps wipe on force wipe\r\nPurchase Vip at: www.rusticated.com/vip\r\nDiscord: rusticated.com/discord\r\n\r\nUse /rules in game to see our rules \r\n\r\nShared BP's with Team \r\nHalf Craft & Half Recycling \r\nFull Base WorkBench \r\nJunk removed from loot tables \r\nPlus More!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775157132,
"score": 0,
"last_online": 1775895615,
"icon": null,
"name": "Rusticated.com - US | 2x Vanilla | Thursday | Shared Bps | 4/9",
"connect": "185.248.134.108:28010",
"request": "185.248.134.108:28015",
"map": "Rusticated Generated Maps",
"gamemode": "Survival",
"version": "2623",
"numplayers": 2,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1739365065,
"last_update": 1775895615,
"banned": false,
"wipe": 1775761129,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2110,
"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/7538456");
$data = json_decode($json, true);
var_dump($data);