Learn R Programming

googlesheets4 (version 0.1.0)

request_make: Make a Google Sheets API request

Description

Low-level function to execute a Sheets API request. Most users should, instead, use higher-level wrappers that facilitate common tasks, such as reading or writing worksheets or cell ranges. The functions here are intended for internal use and for programming around the Sheets API.

make_request() does very, very little: it calls an HTTP method, only adding the googlesheets4 user agent. Typically the input has been created with request_generate() or gargle::request_build() and the output is processed with process_response().

Usage

request_make(x, ...)

Arguments

x

List. Holds the components for an HTTP request, presumably created with request_generate() or gargle::request_build(). Must contain a method and url. If present, body and token are used.

...

Optional arguments passed through to the HTTP method.

Value

Object of class response from httr.

See Also

Other low-level API functions: request_generate(), sheets_has_token(), sheets_token()