gofigr_GET {gofigR}R Documentation

Wrapper for httr::GET that automatically handles authentication.

Description

Wrapper for httr::GET that automatically handles authentication.

Usage

gofigr_GET(gf, url, expected_status_code = 200, ...)

Arguments

gf

configured GoFigr client

url

URL to make the request to, relative to the API URL e.g. user/

expected_status_code

expected HTTP response code. We will throw an exception if it differs.

...

passed to the httr request function

Value

result of calling the underlying httr request function


[Package gofigR version 1.1.0 Index]