This repository has been archived by the owner on Jan 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Home
Alessandro Sanino edited this page Aug 23, 2017
·
9 revisions
This wrapper will allow to connect to Bittrex API (version 2.0)
For public API is simple:
result, err := bittrex.APIFuncDesired(parameters)
if err != nil {
// Handle error
}
// For example
marketSummaries, err := bittrex.GetMarketSummaries("BTC-ETH")
if err != nil {
fmt.Println("ERROR OCCURRED: ", err)
}
Check out the tests for an example of usage, but almost everytime will be as simple as the code above.
You are strongly advised to check if the API is online at the start of your program, just copy paste the following code:
err := bittrex.IsAPIAlive()
if err != nil {
fmt.Println("CANNOT REACH BITTREX API SERVERS: ", err)
}
-
Public API
These API are public and do not require API keys to work.
-
Private API (WORK IN PROGRESS)
Golang Bittrex API v2.0.
This wiki has been provided to you by The Bot Guy <[email protected]>
Please check out the license (GPLv3) and respect it.