straw-hat-labs / bittrex

Bittrex Client for Elixir
https://hex.pm/packages/bittrex
MIT License
11 stars 6 forks source link
bittrex bittrex-api elixir elixir-lang module

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.