Type: Package
Title: Access Pinterest API
Version: 0.3.1
Date: 2016-08-17
Author: Colin FAY
Maintainer: Colin FAY <contact@colinfay.me>
Description: Get information (boards, pins and users) from the Pinterest http://www.pinterest.com API.
License: GPL-3
LazyData: TRUE
Imports: httr, rjson, magrittr
RoxygenNote: 5.0.1
NeedsCompilation: no
Packaged: 2016-08-17 07:26:06 UTC; JonathanMorel
Repository: CRAN
Date/Publication: 2016-08-17 11:00:03

Get board pins using board ID

Description

Get information about all the pins on a pinterest board using the board ID.

Usage

BoardPinsByID(boardID, token)

Arguments

boardID

a character string with a board ID.

token

a character string with an access token generated at https://developers.pinterest.com/tools/access_token/

Details

Takes a board ID and an access token, returns a data.frame.

Value

Always returns a data.frame, with a warning when appropriate.

Examples

BoardPinsByID(boardID = "42080646457333782", token = "your_token")

Get board pins using board name

Description

Get information about all the pins on a pinterest board using the board name.

Usage

BoardPinsByName(user, board, token)

Arguments

user

a character string with a user name.

board

a character string with a board name.

token

a character string with an access token generated at https://developers.pinterest.com/tools/access_token/

Details

Takes a user name, a board name and an access token, returns a data.frame.

Value

Always returns a data.frame, with a warning when appropriate.

Examples

BoardPinsByName(user = "colinfay", board = "blanc-mon-amour", token = "your_token")

Get board using its ID

Description

Get information about a pinterest board using the board ID.

Usage

BoardSpecByID(boardID, token)

Arguments

boardID

a character string with a board ID.

token

a character string with an access token generated at https://developers.pinterest.com/tools/access_token/

Details

Takes a board ID and an access token, returns a data.frame.

Value

Always returns a data.frame, with a warning when appropriate.

Examples

BoardSpecByID(boardID = "42080646457333782", token = "your_token")

Get board using its name

Description

Get information about a pinterest board using the board name.

Usage

BoardSpecByName(user, board, token)

Arguments

user

a character string with an user name.

board

a character string with a board name.

token

a character string with an access token generated at https://developers.pinterest.com/tools/access_token/

Details

Takes a user name, a board name and an access token.

Value

Always returns a data.frame, with a warning when appropriate.

Examples

BoardSpecByName(user = "colinfay", board = "blanc-mon-amour", token = "your_token")

Get pin using its ID

Description

Get information about a pinterest pin using the pin ID.

Usage

PinSpecByID(pinID, token)

Arguments

pinID

a character string with a pin ID.

token

a character string with an access token generated at https://developers.pinterest.com/tools/access_token/

Details

Takes a pin ID and an access token, returns a data.frame.

Value

Always returns a data.frame, with a warning when appropriate.

Examples

PinSpecByID(pinID = "42080577745042298", token = "your_token")

Get a user using its ID

Description

Get information about a pinterest user using the user ID.

Usage

UserSpecByID(userID, token)

Arguments

userID

a character string with a user ID.

token

a character string with an access token generated at https://developers.pinterest.com/tools/access_token/

Details

Takes a user ID and an access token, returns a data.frame.

Value

Always returns a data.frame, with a warning when appropriate.

Examples

UserSpecByID(userID = "42080715176677612", token = "your_token")

Get a user using its name

Description

Get information about a pinterest user using the user ID.

Usage

UserSpecByName(user, token)

Arguments

user

a character string with a user ID.

token

a character string with an access token generated at https://developers.pinterest.com/tools/access_token/

Details

Takes a user ID and an access token, returns a data.frame.

Value

Always returns a data.frame, with a warning when appropriate.

Examples

UserSpecByName(user = "colinfay", token = "your_token")