pin_manip: Create, delete, or edit a Pin

Description Usage Arguments Value Examples

Description

Create, delete, or edit a Pin

Usage

1
2
3
4
5
create_pin(file, board, note, link = NULL, token)

delete_pin(id, token)

edit_pin(id, board = NULL, note = NULL, link = NULL, token)

Arguments

file

the path to the file

board

name of the board (required)

note

a description (required)

link

an url (optional)

token

a character string with an access token generated with 'pinterest_token()'

id

a character string with an ID.

Value

Either a data.frame, or an error.

Examples

1
2
3
4
5
6
## Not run: 
create_pin("~/Pictures/graph.png", "my_board", "a graph", token = token)
delete_pin("42080577756375754", token)
edit_pin("42080577744990466",note = "run run run", token = token)

## End(Not run)

ColinFay/rpinterest documentation built on May 6, 2019, 12:22 p.m.