imguR (version 1.0.3)

http: 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 key or token must be specified.
token
Optionally, an OAuth2.0 token (returned by imgur_login. Either key or token must be specified.
...
Other arguments passed to analogous HTTP method functions from httr.

Value

imgurDELETE, an empty character string.

Details

These are the basic workhorse functions for the package, which users should not need to access directly (except perhaps for debugging).

See Also

Authentication