theoephraim / node-google-spreadsheet

Google Sheets API wrapper for Javascript / Typescript
https://theoephraim.github.io/node-google-spreadsheet
The Unlicense
2.34k stars 390 forks source link

Read headers in batch on getRows() #693

Closed adrinr closed 2 months ago

adrinr commented 6 months ago

The current flow, when running getRows, checks if the headers are loaded. If they are not, we first load the headers and then we run the get. These 2 calls are slow, and they can be speed up using the batchGet endpoint provided by google

theoephraim commented 4 months ago

Sorry for the delay. This is great! Will get this merged soon :)