azurlane 1.1.0

Wrapper for the unofficial azur lane json api in Rust
Documentation

v1.0.0

azurlane-rs

Wrapper for the unofficial azur lane json api in Rust

Installation

[dependencies]
azurlane = "1.0"

Example

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