Go library for accessing Toggl REST API
Go
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
toggl
.travis.yml
LICENSE.md
README.md

README.md

go-toggl

go-toggl is Go library for accessing Toggl API.

Documentation: http://godoc.org/github.com/gedex/go-toggl/toggl

Build Status: Build Status

Basic Usage

c := toggl.NewClient("YOUR_API_TOKEN")
// Get list of workspaces
ws, err := c.Workspaces.List()
if err != nil {
    fmt.Fprintf(os.Stderr, "Error: %s\n", err)
}
for _, w := range ws {
    fmt.Println(w.ID, w.Name)
}

Please see examples for a complete example.

Credits

License

This library is distributed under the BSD-style license found in the LICENSE.md file.