Skip to content

apellis/ankiconnect-client-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ankiconnect-client

A Rust client for AnkiConnect. The currently supported API version is 6.

Examples

Create a client

extern crate ankiconnect_client;
use ankiconnect_client::AnkiConnectClient;

let client = AnkiConnectClient::new("localhost", 8765);

Get API version

// create a client as above

println!("host API version: {}", client.version()?);

Get deck names

// create a client as above

for deck_name in client.deck_names()? {
    println!("found deck with name: {}", deck_name);
}

License

This project is licensed under the MIT License. See the LICENSE file.

About

Rust client for the AnkiConnect API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages