time_entries {clockify}R Documentation

Get time entries

Description

You send time according to your account's timezone (from Profile Settings) and get response with time in UTC.

Usage

time_entries(
  user_id = NULL,
  start = NULL,
  end = NULL,
  description = NULL,
  project_id = NULL,
  task = NULL,
  tags = NULL,
  finished = TRUE,
  concise = TRUE,
  ...
)

Arguments

user_id

User ID. If not specified then use authenticated user.

start

If provided, only time entries that started after the specified datetime will be returned.

end

If provided, only time entries that started before the specified datetime will be returned.

description

If provided, time entries will be filtered by description.

project_id

If provided, time entries will be filtered by project.

task

If provided, time entries will be filtered by task.

tags

If provided, time entries will be filtered by tags. You can provide one or more tags.

finished

Whether to include only finished time intervals (intervals with both start and end time).

concise

Generate concise output

...

Further arguments passed to paginate.

Value

A data frame with one record per time entry.

Examples

## Not run: 
set_api_key(Sys.getenv("CLOCKIFY_API_KEY"))

USER_ID <- "612b15a4f4c3bf0462192676"

# Specify number of results per page (default: 50).
time_entries(USER_ID, page_size = 200)
# Specify number of pages.
time_entries(USER_ID, pages = 3)

## End(Not run)

[Package clockify version 0.1.6 Index]