Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kilpatty/nomics-go
- Owner: kilpatty
- License: mit
- Created: 2018-08-12T18:35:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-14T15:02:59.000Z (over 6 years ago)
- Last Synced: 2024-10-15T17:49:56.917Z (3 months ago)
- Topics: cryptocurrency, golang, nomics
- Language: Go
- Size: 7.81 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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 mainimport (
"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