Description Usage Arguments Details Value
Get a data frame with your pocket data.
1 2 3 4 5 6 7 8 | pocket_get(
favorite = NULL,
item_type = NULL,
tag = NULL,
state = "all",
consumer_key = Sys.getenv("POCKET_CONSUMER_KEY"),
access_token = Sys.getenv("POCKET_ACCESS_TOKEN")
)
|
favorite |
boolean. Default NULL. Allows to filter for favorited items. If TRUE, only favorited items will be returned. If FALSE, only un-favorited items will be returned. |
item_type |
character. Default NULL. Allows to filter for content type of items. Valid values are: "image", "article", "video". Please note that there might be Pocket items that do not belong to any of those types. The Pocket API documentation only mentions those three. |
tag |
character. Default NULL. Only one tag can be filtered at a time. Set to '_untagged_' if you only want to get untagged items. |
state |
character. Default "all". Allows to filter on unread/archived items or return all. Valid values are "unread", "archive", "all". |
consumer_key |
character. Your Pocket consumer key. Defaults to Sys.getenv("POCKET_CONSUMER_KEY"). |
access_token |
character. Your Pocket request token. Defaults to Sys.getenv("POCKET_ACCESS_TOKEN"). |
See https://getpocket.com/developer/docs/v3/retrieve for the meaning of certain variable values.
tibble. Tibble with one row for each Pocket item.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.