wndr_note: Note API

Description Usage Arguments Details See Also Examples

Description

A note is a large text blobs belonging to tasks.

Usage

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

wndr_create_note(task_id, content)

wndr_update_note(id, revision, content)

wndr_delete_note(id, revision)

Arguments

id

Note ID

task_id

Task ID

list_id

List ID

content

Note content

revision

Revision

Details

When you use wndr_get_note, you have to specify either one of id, task_id, list_id.

See Also

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

Examples

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

# create a note
t <- wndr_get_task(list_id = l$id[2])
n <- wndr_create_note(task_id = t$id[1], content = "test")

# update the note
wndr_update_note(id = n$id, revision = n$revision, content = "Test")

# delete the note
n <- wndr_get_note(id = n$id)
wndr_delete_note(id = n$id, revision = n$revision)

## End(Not run)

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