v1.0.0

azurlane-rs

Wrapper for the unofficial azur lane json api in Rust

Installation

toml [dependencies] azurlane = "1.0"

Example

```rust use azurlane::{AzurLaneRequester, Order}; use reqwest::Client;

fn main() { let client = Client::new();

let _ = match client.get_ships(Order::RARITY, "Super Rare") {
    Ok(response) => {
        for i in 0..response.ships.len() {
            println!("[{}]: ({})", response.ships[i].id, response.ships[i].name)
        }
    }
    Err(why) => {
        panic!("{}", why)
    }
};

} ```

Support

discord