Crates.io | kraken_api |
lib.rs | kraken_api |
version | 0.1.5 |
source | src |
created_at | 2020-06-06 00:18:26.952536 |
updated_at | 2020-06-11 02:26:14.225154 |
description | kraken_api is a library for using both the public and private kraken.com APIs. It is currently a work in progress. |
homepage | https://git.cryptid.cc/lost/kraken_api |
repository | https://git.cryptid.cc/lost/kraken_api |
max_upload_size | |
id | 250496 |
size | 18,914 |
This is a library that provides access to the kraken.com APIs.
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?;
}