Description Usage Arguments Value Examples
Delete Pastebin posts.
1 | pbDeletePost(paste, session_key, api_dev_key)
|
paste |
a vector of paste IDs (such as can be generated using /codepbListPosts()) |
session_key |
Session key, generated by /codegetUserKey |
api_dev_key |
Development key for Pastebin API, from http://pastebin.com/api/ |
output |
no output generated. |
1 2 3 4 5 6 7 8 9 | # generate a session key first
# user_name <- "your username"
# user_password <- "your password"
# dev_key <- "your dev key"
# session_key <- getUserKey(api_user_name = user_name, api_user_password = user_password, api_dev_key = dev_key)
# a <- pbListPosts(session_key = session_key, user = user_name) # lists all of your posts
# pbDeletePost(a) # delete all posts
# pbListPosts(session_key = session_key, user = user_name) # no posts listed
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.