Simple synchronization from Toggl to Google Calendar. Using Google Script
-
Create Google Script project.
-
Paste code from
main.gs
toApp.gs
. -
Change first variables:
TOGGL_API_KEY
— your Toggl API key in profile,CALENDAR_NAME
— your Google Calendar name, default is your gmail,UPDATE_IN_MINUTES
— sync time in minutes.
-
Save project by save button.
-
Select "Install" in list of functions.
-
Click "Run".
Congratilations! Now every UPDATE_IN_MINUTES
minutes the script will synchronize the time.
- Better sync when change Toggl times
- Add property for remember last success sync time
- Toggl project tags to description event
- Toggl project color to event color