A Swift interface to the Harvest time tracking API
See the Harvest API V2 Documentation to learn how the Harvest REST API is structured.
Harvester is distributed as a Swift package. The repository URL is https://github.com/tin-whistle/Harvester.git
Authentication is done using either the OAuth 2 standard or a Personal Access Token. Requests to the Harvest API must include an access token from one of these sources. The Harvester example project uses the Personal Access Token scheme, but you may choose to use an OAuth library or write your own implementation. The only requirement is that your implementation must conform to the AuthorizationProvider protocol which supports authorization, deauthorization, and provides an access token.
Any app which wishes to use OAuth with the Harvest API must first be registered with Harvest (requires a Harvest account).
Personal access tokens can be generated on the Harvest developers web page. (requires a Harvest account).
HarvestAPI is the main point of contact with the Harvester library. It is initialized with a HarvestAPIConfiguration containing the following properties:
link |
Stars: 2 |
Last commit: 4 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics