harvest
Version, currently 0.4.05 versions
github.com/xendk/harvest.cr
Minimal getharvest.com client
0 stars
1 dependent
License: MIT
Installation
# Add this to your shard.yml
dependencies:
harvest:
github: xendk/harvest.cr
version: ~> 0.4.0Then run:
shards installshard.yml
- Crystal
>= 1.11.2- License
- MIT
- Author
- Thomas Fini Hansen
- Target
harvestfrom src/cli.cr
Dependencies
Development Dependencies
- webmock*github: manastech/webmock.crdev
README
Harvest.cr
Minimal client for the Harvest time tracing service, developed for Combine.
Note: Currently only tested with the "Timer mode" company preference set to "Track time via duration". If you're using "Track time via start and end time", you'll have to test thoroughly.
Installation
-
Add the dependency to your
shard.yml:dependencies: harvest: github: xendk/harvest.cr -
Run
shards install
Usage
require "harvest"
Basic usage:
harvest = Harvest.new(account_id, token)
pp harvest.time_entries(from: from_date, to: to_date)
See src/cli.cr for an small example. It can be built with shards build and is handy for testing.
Contributing
- Fork it (https://github.com/xendk/harvest/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Thomas Fini Hansen - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.4.0- Tagged
- Sep 4, 2025
- Commit
c61756444e3f- Crystal
>= 1.11.2- Indexed
- yes
Dependents
Repository
github.com/xendk/harvest.cr
Metadata
- Created
- Aug 19, 2026
- Updated
- Oct 12, 2026
- Synced
- Oct 12, 2026
- Versions
- 5