View source: R/put_update_time_entries.R
toggl_update_entries | R Documentation |
update time entries
toggl_update_entries( time_entry_ids, description = NULL, start = NULL, pid = NULL, stop = NULL, duration = NULL, tags = NULL, api_token = get_toggl_api_token() )
time_entry_ids |
id(s) of time entries to update |
description |
the task you did |
start |
time in POSIXt |
pid |
pid |
stop |
time in POSIXt |
duration |
in seconds |
tags |
tags |
api_token |
the toggl api token |
## Not run: options(toggl_api_token = "XXXXXXXX")# set your toggl api token here time_entry <- toggl_create(duration=1200) time_entry_id <- content(time_entry)$data$id toggl_update_entries( time_entry_id, description = "new description", duration = 100, tags = c("tag1", "tag2"), api_token=get_toggl_api_token()) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.