13 releases
0.2.2 | Jan 24, 2024 |
---|---|
0.2.1 | Jan 23, 2024 |
0.1.9 | Jan 22, 2024 |
0.1.3 | Aug 8, 2023 |
#1042 in Web programming
37 downloads per month
1MB
335 lines
Contains (WOFF font, 400KB) NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2, (WOFF font, 135KB) FiraSans-Medium-8f9a781e4970d388.woff2, (WOFF font, 130KB) FiraSans-Regular-018c141bf0843ffd.woff2, (WOFF font, 82KB) SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2, (WOFF font, 77KB) SourceSerif4-Regular-46f98efaafac5295.ttf.woff2, (WOFF font, 45KB) SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2 and 3 more.
Battlebit-api
A Battlebit API Library/Client for Rust
What you may be looking for:
Example
Click to show Cargo.toml.
[dependencies]
battlebit-api = "0.2.2"
use battlebit_api::BBApi;
fn main() {
let api = BBApi::new();
let server_list = api.server_list()
.expect("Retrieving server list");
server_list.into_iter().for_each(|server| {
println!("{} [{}, {}, {}] ({}, {}, {})",
server.name(),
server.gamemode(),
server.map(),
server.map_size(),
server.hz(),
server.anti_cheat(),
server.build()
)
});
}
Dependencies
~5–16MB
~237K SLoC