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

get_api_response(url, profile = myProfile)

Arguments

url

a character of API URL

profile

an object of class Auth. Default is myProfile.

Value

An object of class response.

See also

get_api_response and get_api_graph

Examples

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

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