straw-hat-labs / bittrex

Bittrex Client for Elixir

Home Page:https://hex.pm/packages/bittrex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bittrex

Hex.pm CI Status Code Coverage

Bittrex API integration.

Usage

First, create the credentials from Bittrex. To manage your API keys please goto Settings -> Manage API Keys on Bittrex.

You need to create an Bittrex.Client using Bittrex.Client.new/1

client = Bittrex.Client.new(%{
  api_key: "my api key",
  api_secret: "my api secret"
})

Now you can use the available functions for communicate with Bittrex API.

Example:

client = Bittrex.Client.new(%{
  api_key: "my api key",
  api_secret: "my api secret"
})

{:ok, markets} = Bittrex.Markets.get_markets(client)

Check the current modules, the module names are trying to follow the same structure from the official documentation of Bittrex API.

About

Bittrex Client for Elixir

https://hex.pm/packages/bittrex

License:MIT License


Languages

Language:Elixir 99.7%Language:Makefile 0.3%