* previous code was messy with all source in project root * now code is organized in pkg/ * removed types.go and moved types into their respective modules * package exports a Client struct now and all functions are methods of that struct * also supports API keys now
20 lines
416 B
Markdown
20 lines
416 B
Markdown
# snappy
|
|
|
|
<div style="text-align: center">
|
|
|
|
<img src="https://stacker.news/favicon.png" width="64" height="64" />
|
|
<img src="https://go.dev/blog/go-brand/Go-Logo/PNG/Go-Logo_Blue.png" width="64" height="64" />
|
|
|
|
[stacker.news](https://stacker.news) API client package for Go
|
|
|
|
</div>
|
|
|
|
|
|
## How to use
|
|
|
|
```
|
|
$ go get github.com/ekzyis/snappy
|
|
```
|
|
|
|
`SN_API_KEY` must be set in your environment for authenticated API access.
|