This repository has been archived on 2022-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
2020-08-24 11:16:29 +00:00
|
|
|
# TWHelp Golang SDK
|
|
|
|
|
2021-06-06 17:18:32 +00:00
|
|
|
A tool for interacting with [TWHelp's API](https://api.tribalwarshelp.com).
|
2020-08-24 11:16:29 +00:00
|
|
|
|
|
|
|
## Getting started
|
|
|
|
|
|
|
|
This SDK requires Go version with Modules support. Make sure to initialize a Go module:
|
|
|
|
|
|
|
|
```
|
|
|
|
go mod init github.com/my/repo
|
|
|
|
```
|
|
|
|
|
|
|
|
and then install SDK:
|
|
|
|
|
|
|
|
```
|
|
|
|
go get -u github.com/tribalwarshelp/golang-sdk
|
|
|
|
```
|
|
|
|
|
2021-06-06 17:18:32 +00:00
|
|
|
[An example you can find here.](https://raw.githubusercontent.com/tribalwarshelp/golang-sdk/master/example/main.go)
|