Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 915 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 915 Bytes

Toggl reporter

This simple script shows summary of Toggl time entries per project.

Setup

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'

Setting up SSL certificates

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.

Usage

Simply run:

ruby toggl_reporter.rb

and follow the instructions.