A wrapper to the get_api_response method defined in the Credentials class.

get_api_response(url, profile = myProfile)

Arguments

url

a character of API URL

profile

an object of class Credentials. Default is myProfile.

Value

An object of class response.

See also

Examples

if (FALSE) {
myProfile <- create_profile("", "")
url <- "http://httpbin.org/json"

api_response <- get_api_response(url)
names(api_response)
}