benborgers / opensheet

💾 An API to get a Google Sheet as JSON, no authentication required.
https://opensheet.elk.sh
MIT License
632 stars 121 forks source link

Forcing OpenSheet cache to update from Google Sheets #27

Open g4spow opened 1 year ago

g4spow commented 1 year ago

I have a set of Google Sheets that use GoogleFinance, the sheets can take 10 seconds to fully load the data and update. Most update fine and I can access via the https://opensheet.elk.sh urls.

But sometimes the cache is empty and will not update despite opening the sheet manually and waiting for it to fully load, entering a value in a cell and still nothing. Is there anyway to force the cache to update? Perhaps changing a cell, or doing something with the API or perhaps having a certain function in the cells that keeps the cache updated.