3 releases
0.1.2 | Sep 13, 2021 |
---|---|
0.1.1 | Sep 12, 2021 |
0.1.0 | Sep 12, 2021 |
#867 in Games
10KB
227 lines
Apex Legends API (in Rust)
This package utilizes the Apex Legends Status (https://apexlegendsstatus.com) API.
Usage Example:
use apex_legends;
#[tokio::main]
async fn main() {
match apex_legends::get_user("HeyImLifeline".to_string(), "your_api_key").await {
Ok(data) => println!("You are level {}.", data.global.level),
Err(e) => {
println!("there was an error!: {}", e)
}
}
}
I have no affiliation with Apex Legends, EA, or Apex Legends Status.
Dependencies
~7–18MB
~255K SLoC