mirror of
https://github.com/kastelo-labs/harvest.git
synced 2026-07-17 02:15:09 +00:00
A Go (golang) client library for the Harvest Time Tracking API
- Go 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| account.go | ||
| api_client.go | ||
| client.go | ||
| contact.go | ||
| entry.go | ||
| expense.go | ||
| expense_category.go | ||
| go.mod | ||
| go.sum | ||
| harvest_date.go | ||
| invoice.go | ||
| invoice_test.go | ||
| LICENSE | ||
| payment.go | ||
| person.go | ||
| project.go | ||
| README.md | ||
| service.go | ||
| task.go | ||
| task_assignment.go | ||
harvest
harvest is a Go client library for accessing the Harvest API.
Usage
import "github.com/PeterVerschuure/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.