This simple script shows summary of Toggl time entries per project.
Create config.yml
file and save your e-mail address and API token - you can find it here.
Config example:
email: '[email protected]'
api_token: 'y0urt0k3n'
cert_path: '/path/to/your/cert'
TogglReporter requires a little extra configuration for users who want to use SSL/HTTPS. You need to set cert_path
in config.yml
. On OSX it should be inside /usr/local/etc/openssl/
directory. You can read more about it here. If you don't provide cert path it will still work but won't verify certificate.
Simply run:
ruby toggl_reporter.rb
and follow the instructions.