BatchRequest was updated to v1.2.1.
-
v1.2.1 (March 8, 2023)
- An option of
exportDataAsBlob was added to the request object to the method of EDo(). Ref When this option is used, the response values from the batch requests are returned as Blob. By this, for example, when you export Google Spreadsheet as PDF data using the batch requests, the PDF data can be retrieved as Blob.
Sample script using exportDataAsBlob
In this sample, the Spreadsheet and Document files are exported as PDF format using the batch requests. The exported PDF data is created as a PDF file to the root folder. When I answered this thread on Stackoverflow, when this option is added to this library, I thought that it might be useful for users.
BatchRequest was updated to v1.2.0.
You can check this at https://github.com/tanaikech/BatchRequest.
BatchRequest was updated to v1.1.3.
You can check this at https://github.com/tanaikech/BatchRequest.
BatchRequest was updated to v1.1.2.
-
v1.1.1 (June 12, 2020)
- Error handling for the input object was added.
-
v1.1.2 (June 12, 2020)
- Removed a bug that when the returned value is empty, an error occurred.
You can check this at https://github.com/tanaikech/BatchRequest.
BatchRequest was updated to v1.1.0.
-
v1.1.0 (June 10, 2020)
- New method of
EDo() was added. This method is the enhanced Do() method. When this method is used, the result values from the batch requests are parsed. And also, the number of requests more than 100 can be used. In this case, the split of the number of requests is processed for the limitation of 100.
You can check this at https://github.com/tanaikech/BatchRequest.
Gists
There is the bathing requests in the Google APIs. The bathing requests can use the several API calls as a single HTTP request. By using this, for example, users can modify filenames of a lot of files on Google Drive. But there are limitations for the number of API calls which can process in one batch request. For example, Drive API can be used the maximum of 100 calls in one batch request.