Description Usage Arguments Details
View source: R/pocket_modify.R
Function that sends a request with a list of actions to the 'modify' Pocket API endpoint.
1 2 3 4 5 | pocket_modify(
actions,
consumer_key = Sys.getenv("POCKET_CONSUMER_KEY"),
access_token = Sys.getenv("POCKET_ACCESS_TOKEN")
)
|
actions |
List. List of lists where each element is an action object. See https://getpocket.com/developer/docs/v3/modify. |
consumer_key |
Character string. Your Pocket consumer key. Defaults to |
access_token |
Character string. Your Pocket request token. Defaults to |
see https://getpocket.com/developer/docs/v3/modify. This function uses the modify
endpoint of the Pocket API which exhibits some weird behaviour.
For example, even if a 'modify' action is not successful, the API will still return "success".
See [issue [#26](https://github.com/CorrelAid/pocketapi/issues/26) for a discussion.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.