http {imguR} | R Documentation |
Workhorse HTTP functions
Description
Basic workhorse HTTP method functions for executing Imgur.com API calls
Usage
imgurGET(endpoint,
base_url = "https://api.imgur.com/3/",
key = "1babd0decbb90f2",
token = NULL,
...)
Arguments
endpoint |
A named API endpoint. |
base_url |
The base URL for the API (by default the v3 API URL). |
key |
An API key (by default, the imguR package API key). The API key for version of imguR < 1.0.0 was “4feb29d00face5bc1b9dae536e15c373”. Either |
token |
Optionally, an OAuth2.0 token (returned by |
... |
Other arguments passed to analogous HTTP method functions from httr. |
Details
These are the basic workhorse functions for the package, which users should not need to access directly (except perhaps for debugging).
Value
Generally, a list. For imgurDELETE
, an empty character string.
Author(s)
Thomas J. Leeper
See Also
[Package imguR version 1.0.3 Index]