Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 746 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 746 Bytes

go-harvest

go-harvest is a Go client library for accessing the Harvest Time Tracking API

Disclaimer

As of 3/18/14 this library is still under active development and missing things that would make it useful on it's own.

Usage

import "github.com/backforty/go-harvest/harvest"

Construct a new Harvest client, then use the client to access the Harvest API.

apiClient := harvest.NewAPIClientWithBasicAuth("YOUR_USERNAME", "YOUR_PASSWORD", "YOUR_SUBDOMAIN")

clients := apiClient.Client.List()
client := apiClient.Client.Find(123123)

people := apiClient.People.List()
person := apiClient.People.Find(123123)

License

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