| toggl_create | R Documentation |
create a time entry
toggl_create( description = get_context(), start = now(), pid = get_project_id(), stop, duration, tags = NULL, api_token = get_toggl_api_token() )
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
toggl_create(duration=1200)
toggl_create( description="description",
start=now(),
pid = get_project_id(project_name = "projectname",
create=TRUE,client = "client"),
duration=1000,
api_token=get_toggl_api_token())
## End(Not run)