go-toggl

module
v0.0.0-...-7f9a728 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2013 License: BSD-2-Clause

README

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL