Skip to content

snopedom/toggl-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toggl report script

Instalation

It works only on MAC or LINUX :D #PrayForWindows

Ruby instalation on your station is required!

Before first start of script please open terminal, go to toggl tracker directory and run bash setup.sh command.

Required parameters

For using of toggl report script you must provide 4 parameters.

  • token

    In Toggl web admin go to Profile settings and on bottom of page you can find your api key in field API Token

    Example: d8c97bb22aa69cef234fc9823e408e9b

  • project_id

    In Toggl web admin, go to Projects list, than open detail of project (that you want track) and id after last slash in url is project ID.

    Example: https://toggl.com/app/projects/123456/edit/12345678

    In this case project_id is 12345678

  • month

    Month number in format M or MM

  • year

    Year in format YYYY

Generating report

To generate report in csv format, run script in root folder:

ruby main.rb --token=<token> --project_id=<project_id> --month=<month> --year=<year>

About

Script for generating a report by day within one month.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published