Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kilpatty/nomics-go

Golang wrapper for the nomics api
https://github.com/kilpatty/nomics-go

cryptocurrency golang nomics

Last synced: about 1 month ago
JSON representation

Golang wrapper for the nomics api

Awesome Lists containing this project

README

        

The Unofficial [Nomics](https://nomics.com/) API client for [Go](https://golang.org/).

## Documentation

[https://godoc.org/github.com/kilpatty/nomics-go/nomics](https://godoc.org/github.com/kilpatty/nomics-go/nomics)

## Install

```bash
go get -u github.com/kilpatty/nomics-go/nomics
```

## Getting started

```go
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)
}
}

```

## Examples

Check out the [`./example`](./example) directory and documentation.

## License

MIT