Rust
[US] Stevious 2x | Solo/Duo/Trio | 4/2 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/759313json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 135268,
"world_seed": 143064109,
"world_size": 3750,
"steam_id": "90284086396574745",
"domain": "biweekly.us.moose.gg",
"id": 759313,
"ip": "168.100.163.13",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Dallas",
"description": "![[US] Stevious 2x | Solo/Duo/Trio | 4/2](https://cdn.rustlegends.com/Stevious_2x_header.png)\nMax Teamsize: 3 players (Includes players offline)\r\n\r\nVisit https://stevious.io for VIP (Queue Skip) and Rules / Discord information.\r\n\r\nWeekly wipes and the following modifications: \r\n\r\n2x Gather Rates (2.5x for Sulfur and Wood) \r\nHalf smelt and crafting speeds (Vanilla for raiding items) \r\nBuilding and Level 1 Workbench blueprints unlocked \r\nComponent System loot tables (Junk items removed)",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1772738545,
"score": null,
"last_online": 1775710813,
"icon": null,
"name": "[US] Stevious 2x | Solo/Duo/Trio | 4/2",
"connect": "biweekly.us.moose.gg:28010",
"request": "168.100.163.13:28015",
"map": "Monthly BPs / 3 Max / FPS+ Maps",
"gamemode": "Survival",
"version": "2623",
"numplayers": 10,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1678641061,
"last_update": 1775710813,
"banned": false,
"wipe": 1775152622,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1052,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/759313");
$data = json_decode($json, true);
var_dump($data);