toggl_create: toggl_create

View source: R/put.R

toggl_createR 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()
)

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

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)

togglr documentation built on July 11, 2022, 9:06 a.m.