Closed piecubed closed 4 years ago
Probably going to start making a BatchUpdate
class, that you can add requests to somehow, and then apply it with an apply
method that accepts the spreadsheetID
, so you can easily apply the same BatchUpdate to more than one spreadsheet.
We could use the googleapi
package for the requests, but then to use that I think that users would need to add that to their dependencies, leaving that up to you. Issue with this is I think that the requests that googleapi
has don't have a common class they subclass, so this would not be ideal for checking if the request is valid.
I think the best way to do this is just with googleapis, since we already depend on it, they can just import it easilly.
Updated the dependency for googleapis, a few of the requests weren't implemented in the last version.
How do you plan to implement BatchUpdate? I can make a PR for it, but I'm not sure how you would like it implemented with your current API. https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/batchUpdate