The Unofficial Nomics API client for Go.
https://godoc.org/github.com/kilpatty/nomics-go/nomics
go get -u github.com/kilpatty/nomics-go/nomics
package main
import (
"fmt"
"log"
"github.com/kilpatty/nomics-go/nomics"
)
func main() {
config := nomics.New("Your-API-Key")
markets, err := nomics.Markets()
if err != nil {
log.Fatal(err)
}
for _, market := range markets {
fmt.Println(market.Market, market.Quote)
}
}
Check out the ./example
directory and documentation.
MIT