https://github.com/amberbyte/gameanalytics
Inofficial SDK for gameanalytics written in Golang
https://github.com/amberbyte/gameanalytics
Last synced: about 1 year ago
JSON representation
Inofficial SDK for gameanalytics written in Golang
- Host: GitHub
- URL: https://github.com/amberbyte/gameanalytics
- Owner: AmberByte
- License: mit
- Created: 2021-11-21T16:13:26.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-21T18:02:29.000Z (over 4 years ago)
- Last Synced: 2024-12-16T21:55:05.427Z (over 1 year ago)
- Language: Go
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gameanalytics-go
gameanalytics-go is an inofficial sdk for gameanalytics which is written in go.
It currently can send the following events:
- Business
- Design
- Error
- Progression
- Ressource
- Session Events (user, session_end)
[gameanalytics Docs](https://gameanalytics.com/docs/s/article/Collection-API)
## Installation
Install via go get
```bash
go get tobiasbeck/gameanalytics-go
```
## Usage
```go
import gameanalytics tobiasbeck/gameanalytics-go
func main() {
client := gameanalytics.NewClient(key, secret)
ctx := context.TODO()
client.StartSession(ctx, "123456")
}
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)