A simple command-line tool that exports your toggl timesheet to CSV
go install github.com/nylo-andry/togglsheet/cmd/togglsheet
-
Create a
.togglsheetfile by copying/renaming thetogglsheet.example.- Move that file to your home directory.
- Fill in three values (
api_token,workspace_id,user_name). - You can find your API token in your Profile settings
- If you do not know your
workspace_id, you can find it by running theworkspacecommand (e.g.togglsheet workspace). You will still need to provide your API Token in your configuration file before you can find it.
-
Run
togglsheet exportprovide the timeframe you want to export (e.g.export --start 2018-12-17 --end 2018-12-21)