http: Workhorse HTTP functions

Description Usage Arguments Details Value Author(s) See Also

Description

Basic workhorse HTTP method functions for executing Imgur.com API calls

Usage

1
2
3
4
5
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.

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

Authentication


imguR documentation built on May 2, 2019, 4:02 p.m.