https://github.com/T...ples/bittrex.go work example:
package main
import (
"fmt"
"github.com/toorop/go-bittrex"
)
const (
API_KEY = ""
API_SECRET = ""
)
func main() {
// Bittrex client
bittrex := bittrex.New(API_KEY, API_SECRET)
// Get Ticker (BTC-VTC)
/*
ticker, err := bittrex.GetTicker("BTC-DRK")
fmt.Println(err, ticker)
*/
}
keys -
https://bittrex.com/Home/ApiProgramming language, I so understood, GO.
It is request for receipt of initial information on a rate:
Judging by documentation the answer in a type shall come:
/public/getticker
Used to get the current tick values for a market.
Parameters parameter required description market required a string literal for the market (ex: BTC-LTC)
Request:https://bittrex.com/...ublic/getticker
Response{
"success" : true,
"message" : "",
"result" : {
"Bid" : 2.05670368,
"Ask" : 3.35579531,
"Last" : 3.35579531
}
}
Here and the question how to give a rate and to appropriate it to any variable or it already in ticker,err , and here err is a type shows on a data file and ticker, bid will issue me result about a purchase price?
Yes but we would prefer Python because we used that wrapper for Crypsty/Poloniex and its easier for us to use.