Skip to content

alfiedotwtf/kraken-websockets-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

NAME

kraken-websockets-token - Convenience crate to get Kraken WebSockets API tokens

Example

use kraken_websockets_token::get_websockets_token;

fn main() {
  const API_SECRET: &str = "<my API secret>";
  const API_KEY: &str = "<my API key>";

  match get_websockets_token(API_SECRET, API_KEY) {
    Ok(token) => println!("My token is: {}", token),
    Err(err) => println!("There was an error: {}", err),
  }
}

DESCRIPTION

This crate provides a convenient way to get Kraken WebSockets API tokens.

SUPPORT

Please report any bugs or feature requests at:

Feel free to fork the repository and submit pull requests :)

SEE ALSO

AUTHOR

Alfie John

WARRANTY

IT COMES WITHOUT WARRANTY OF ANY KIND.

COPYRIGHT AND LICENSE

Copyright (C) 2021 by Alfie John

Contact me if you would like this licensed under something other than the GPL

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

About

Convenience crate to get Kraken WebSockets API tokens

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages