apex_legends

Crates.ioapex_legends
lib.rsapex_legends
version0.1.2
sourcesrc
created_at2021-09-12 03:52:25.442339
updated_at2021-09-13 03:39:11.434843
descriptionAn API wrapper for the MozambiqueHe.re Apex Legends API.
homepage
repositoryhttps://github.com/KasprDev/Apex-Legends-API-Rust
max_upload_size
id449972
size35,800
Anthony Cugat (KasprDev)

documentation

README

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.

Commit count: 27

cargo fmt