Google Sheets allows you to publish data on the Internet as a .XLS or .CSV file, etc. I have a system in which I edit the spreadsheet, and when I finish, I run a script that downloads the .csv file and processes it for use on our website.
The problem is that the created .csv file sometimes becomes outdated for several minutes, which means that every time I finish editing, I need to click the "publish on the Internet" → "reissue now" button before running my script. This becomes a routine for me and is not acceptable to ask my other users to remember.
I need to either get my command line script to automatically notify Google of the republishing, or find another way to get the current data from my spreadsheet.
source share