toggl_create {togglr} | R Documentation |
toggl_create
Description
create a time entry
Usage
toggl_create(
description = get_context(),
start = now(),
pid = get_project_id(),
stop,
duration,
tags = NULL,
api_token = get_toggl_api_token(),
workspace_id = get_workspace_id(api_token)
)
Arguments
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 |
workspace_id |
workspace id |
Examples
## 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)
[Package togglr version 0.2.1 Index]