gar_batch: Turn a list of gar_fetch_functions into batch functions

Description Usage Arguments Details Value See Also

View source: R/googleAuthR_batch.R

Description

Turn a list of gar_fetch_functions into batch functions

Usage

1
gar_batch(call_list, ...)

Arguments

call_list

a list of functions from gar_api_generator

...

further arguments passed to the data parse function of f

Details

This function will turn all the individual Google API functions into one POST request to /batch.

If you need to pass multiple data parse function arguments its probably best to do it in seperate batches to avoid confusion.

Value

A list of the Google API responses

See Also

https://developers.google.com/webmaster-tools/v3/how-tos/batch

Documentation on doing batch requests for the search console API. Other Google APIs are similar.

Walk through API calls changing parameters using gar_batch_walk

Other batch functions: applyDataParseFunction, doBatchRequest, gar_batch_walk, makeBatchRequest, parseBatchResponse


yinscapital/googleAuthR-reference documentation built on May 3, 2019, 4:31 p.m.