| Crates.io | apex_legends |
| lib.rs | apex_legends |
| version | 0.1.2 |
| created_at | 2021-09-12 03:52:25.442339+00 |
| updated_at | 2021-09-13 03:39:11.434843+00 |
| description | An API wrapper for the MozambiqueHe.re Apex Legends API. |
| homepage | |
| repository | https://github.com/KasprDev/Apex-Legends-API-Rust |
| max_upload_size | |
| id | 449972 |
| size | 35,800 |
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.