Turbo Rust 10x | PvP | MyMini | SkinBox | x10 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 89737,
"world_seed": 1,
"world_size": 3900,
"steam_id": "90286762269720589",
"domain": null,
"id": 8054385,
"ip": "168.100.161.193",
"port": 29015,
"query": 29017,
"project_id": null,
"color": 0,
"city": "London",
"description": "\n\r\n+ Map Wipe Weekly on Monday & Thursday (7pm GMT/BST) \r\n+ Blueprints: No BPs \r\n+ Discord: https://discord.gg/8wfYyCuR4m | VIP: https://rusty-bear.tebex.io/ \r\n \r\n+ 10x everything. \r\n+ Teleport and Homes \r\n Teleport to Bandit and Outpost - /bandit | /outpost \r\n Kits - /kit \r\n Spawn mini with /mymini and mini spawn on road \r\n Active non-playing admins | Always Day",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777913013,
"last_online": 1780951827,
"icon": null,
"name": "Turbo Rust 10x | PvP | MyMini | SkinBox | x10",
"connect": "168.100.161.193:29015",
"request": "168.100.161.193:29017",
"map": "TurboRust FPS+ Maps",
"gamemode": "Survival",
"version": "2627",
"numplayers": 1,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1741383882,
"last_update": 1780951827,
"banned": false,
"wipe": 1780942506,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1357,
"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/8054385");
$data = json_decode($json, true);
var_dump($data);