wndr_reminder: Reminder API

Description Usage Arguments See Also Examples

Description

The reminder for a task.

Usage

1
2
3
4
5
6
7
wndr_get_reminder(task_id = NULL, list_id = NULL)

wndr_create_reminder(task_id, date, created_by_device_udid = NULL)

wndr_update_reminder(id, revision, date)

wndr_delete_reminder(id, revision)

Arguments

task_id

Task ID

list_id

List ID

date

Timestamp when to remind.

created_by_device_udid

Device UDID, which is used for push notification.

id

Reminder ID

revision

Revision

See Also

https://developer.wunderlist.com/documentation/endpoints/reminder

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
# get reminders
l <- wndr_get_list()
r <- wndr_get_reminder(list_id = l$id[1])

# create a reminder
t <- wndr_get_task(list_id = l$id[1])
r <- wndr_create_reminder(task_id = t$id[1], date = Sys.time() + 3600)

# update the reminder
r <- wndr_update_reminder(id = r$id, revision = r$revision, date = Sys.time() + 3600 * 24)

# delete the reminder
wndr_delete_reminder(id = r$id, revision = r$revision)

## End(Not run)

yutannihilation/wunderlistr documentation built on May 4, 2019, 7:46 p.m.