wndr_list: List API

Description Usage Arguments See Also Examples

Description

All tasks created in Wunderlist belong to a list.

Usage

1
2
3
4
5
6
7
wndr_get_list(id = NULL)

wndr_create_list(title)

wndr_update_list(id, revision, title = NULL, public = NULL)

wndr_delete_list(id, revision)

Arguments

id

List id

title

List title

revision

List revision

public

Whether or not the list is public

See Also

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
## Not run: 
# get all lists
wndr_get_list()

# get a list
wndr_get_list(id = 1111)

# create a list
l <- wndr_create_list("test")

# update the list
wndr_update_list(id = l$id, revision = l$revision, title = "Test")

# make the list public
wndr_update_list(id = l$id, revision = l$revision, public = TRUE)

# delete the list
l <- wndr_get_list(id = l$id)
wndr_delete_list(id = l$id, revision = l$revision + 2)

## End(Not run)

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