A Rust client for AnkiConnect. The currently supported API version is 6.
extern crate ankiconnect_client;
use ankiconnect_client::AnkiConnectClient;
let client = AnkiConnectClient::new("localhost", 8765);
// create a client as above
println!("host API version: {}", client.version()?);
// create a client as above
for deck_name in client.deck_names()? {
println!("found deck with name: {}", deck_name);
}
This project is licensed under the MIT License. See the LICENSE
file.