6 releases
0.1.5 | Jun 11, 2020 |
---|---|
0.1.4 | Jun 11, 2020 |
#29 in #kraken
8KB
155 lines
kraken_api
This is a library that provides access to the kraken.com APIs.
Usage
use std::error::Error;
use kraken_api::api::Kraken;
#[runtime::main]
async fn main() -> Result<(), Box<dyn Error + Send + Sync + 'static>> {
// code to get key, secret and totp goes here
// ......
// ......
let kraken = Kraken::new(key, secret, totp);
kraken.start().await?;
}
Dependencies
~20MB
~435K SLoC