This is a simple tool created to export from Toggl a weekly summary report of total hours spent per task each day. It was created for personal use, and is only intended to cover a single use-case; mine.
To install dependencies, it's recommended to use Bundler.
$ gem install bundler
$ bundle install
To use the report generator, you'll need a Toggl API token. It can be
generated on the profile page.
This token must be added as the environment variable TOGGL_TOKEN
.
Alternatively you can add a .env
file:
TOGGL_TOKEN=<token>
You can then generate a report for a week by executing:
$ bundle exec bin/togg-report week <WEEK> [YEAR]