Skip to content

An API wrapper for wanikani written in rust

License

Notifications You must be signed in to change notification settings

jemsurfer/wanisabi

 
 

Repository files navigation

Continuous Integration MIT License Crate version

Wanisabi

An API wrapper for the wanikani API written in rust.

Usage/Examples

#[tokio::main]
async fn main() -> Result<(), wanisabi::Error> {
    let client = Client::new("<WANIKANI_API_KEY>");
    let params = vec![
        AssignmentsFilter::ImmediatelyAvailableForLessons,
    ];
    let assignments = client.get_assignments_filtered(params).await?;
}

Note that Client::default() attempts to retreive the API key from the WANIKANI_API_KEY environment variable.

About

An API wrapper for wanikani written in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%