Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dougEfresh/gtoggl
Go (golang) client library the toggl API (v8)
https://github.com/dougEfresh/gtoggl
golang toggl
Last synced: about 2 months ago
JSON representation
Go (golang) client library the toggl API (v8)
- Host: GitHub
- URL: https://github.com/dougEfresh/gtoggl
- Owner: dougEfresh
- License: mit
- Archived: true
- Created: 2016-05-28T22:53:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-20T13:22:04.000Z (about 6 years ago)
- Last Synced: 2024-09-25T09:05:06.079Z (3 months ago)
- Topics: golang, toggl
- Language: Go
- Homepage: https://github.com/toggl/toggl_api_docs
- Size: 27.3 KB
- Stars: 25
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Toggl API for golang
Throttle API for [toggle](https://github.com/toggl/toggl_api_docs/blob/master/toggl_api.md)
[![GoDoc][doc-img]][doc] [![Build Status][ci-img]][ci] [![Coverage Status][cov-img]][cov] [![Go Report][report-img]][report]
## Installation
```shell
$ go get -u github.com/dougEfresh/gtoggl-api
$ go get -u github.com/dougEfresh/gtoggl
```## Quick Start
```go
import "github.com/dougEfresh/gtoggl"
import "github.com/dougEfresh/gtoggl-api/gtproject"func main() {
thc, err := gtoggl.NewClient("token")
...
tc, err := gtproject.NewClient(thc)
...
project,err := tc.Get(1)
if err == nil {
panic(err)
}
}
```The gtoggl clients provides throttling
## Usage
See [gtoggl cli](https://github.com/dougEfresh/gtoggl/gtoggl)
## Examples
See [godoc][doc] for more examples## Prerequisites
go 1.x
## Tests
```shell
$ go test -v ./...```
## Deployment
## Contributing
All PRs are welcome## Authors
* **Douglas Chimento** - [dougEfresh][me]
## License
This project is licensed under the Apache License - see the [LICENSE](LICENSE) file for details
## Acknowledgments
### TODO
[doc-img]: https://godoc.org/github.com/dougEfresh/gtoggl?status.svg
[doc]: https://godoc.org/github.com/dougEfresh/gtoggl
[ci-img]: https://travis-ci.org/dougEfresh/gtoggl.svg?branch=master
[ci]: https://travis-ci.org/dougEfresh/gtoggl
[cov-img]: https://codecov.io/gh/dougEfresh/gtoggl/branch/master/graph/badge.svg
[cov]: https://codecov.io/gh/dougEfresh/gtoggl
[glide.lock]: https://github.com/uber-go/zap/blob/master/glide.lock
[zap]: https://github.com/uber-go/zap
[me]: https://github.com/dougEfresh
[report-img]: https://goreportcard.com/badge/github.com/dougEfresh/gtoggl
[report]: https://goreportcard.com/report/github.com/dougEfresh/gtoggl