Projetos
Ver no GitHub
beldur/kraken-go-api-client
Sobre
Example client library in GO for use with the kraken.com API.
Ferramentas de desenvolvimentoCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalKraken GO API Client
:sparkles: Please use the new official go-lang api client from Kraken: https://github.com/krakenfx/api-go :sparkles:
A simple API Client for the Kraken Trading platform.
Example usage:
package main
import (
"fmt"
"log"
"github.com/beldur/kraken-go-api-client"
)
func main() {
api := krakenapi.New("KEY", "SECRET")
result, err := api.Query("Ticker", map[string]string{
"pair": "XXBTZEUR",
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("Result: %+v\n", result)
// There are also some strongly typed methods available
ticker, err := api.Ticker(krakenapi.XXBTZEUR)
if err != nil {
log.Fatal(err)
}
fmt.Println(ticker.XXBTZEUR.OpeningPrice)
}
Contributors
- Piega
- Glavic
- MarinX
- bjorand
- khezen
Explore projetos relacionados
Carregando…