Rust
RUST DASH 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/6463408json
{
"response": {
"steam_id": null,
"domain": null,
"id": 6463408,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "\nRust Team # 1\r\n > Мультиплеерная выживальческая игра,\r\n > где игроки могут строить и защищать свои базы,\r\n > Cражаться друг с другом и выживать в суровом мире после апокалипсиса.\r\n > и другие...\r\nWargmClaim282230\r\n[RT1] Rust Team #1 VANILLA TITANS || max 5 || 2025",
"game": 252490,
"owner": 98995,
"boosts": 1,
"last_offline": 1758284167,
"score": 5,
"last_online": 1754848219,
"icon": null,
"name": "RUST DASH",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": null,
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1730156942,
"last_update": 1758284167,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 7383,
"language": "ru",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "xredkox",
"avatar": "no.jpg",
"last_online": 1743010697
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/6463408");
$data = json_decode($json, true);
var_dump($data);