pbGetText: Load the raw content of a Pastebin post

Description Usage Arguments Value Examples

Description

Brings content from pastebin into R.

Usage

1
  pbGetText(pasteKeys)

Arguments

pasteKeys

a vector of paste IDs (such as can be generated using /codepbListPosts())

Value

output

a character object.

Examples

1
2
3
4
# generate a session key first
# a <- pbListPosts(session_key = session_key) # lists all of beepbeepbeep's posts, using session key from getUserKey()
# pbGetText(a[1]) # get the content
# pbGetText(a)

troyhill/Pastebin-API documentation built on June 1, 2019, 1:51 a.m.