Rust
Canadian Backyard PVE 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/8390761json
{
"response": {
"fps": 86,
"fps_avg": 82,
"entities_count": 169815,
"world_seed": 60914251,
"world_size": 4500,
"steam_id": "90285650855520279",
"domain": null,
"id": 8390761,
"ip": "54.39.161.203",
"port": 28080,
"query": 28015,
"color": 0,
"city": "Beauharnois",
"description": "\nWelcome to Canadian Backyard PVE! Thanks for Finding us! We are Family and Builder Friendly! Great Server for First Timers wanting to learn. We have Kids, Adults and Families that play here. So FUN and SAFETY are our First CONCERN! Rudeness is not Tolerated! And RULES are Enforced! We are a Small Community here. (WE ARE A PVE SERVER ONLY!) We offer a Variety of Mods for Builders and Combatants. As well as some others for the Lazier Players too...LOL!!! Take Care and Have Fun! And Welcome to Our RUST Community!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778572981,
"score": 0,
"last_online": 1778591419,
"icon": null,
"name": "Canadian Backyard PVE",
"connect": "54.39.161.203:28080",
"request": "54.39.161.203:28015",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1743673751,
"last_update": 1778591419,
"banned": false,
"wipe": 1778178260,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3291,
"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/8390761");
$data = json_decode($json, true);
var_dump($data);