Google Sheets allows you to publish the data to the web as a .XLS file or .CSV etc. I have a system where I edit the spreadsheet and when I'm finished I run a script which downloads the .csv file and processes it for use on our website.
The problem is that the .csv file produced is sometimes a few minutes out of date which means every time I finish editing I need to hit the "publish to web"->"republish now" button before running my script. This is becoming a chore for me and not acceptable to ask my other users to remember.
I need to either make my command-line-script automatically tell Google to republish, or find another way to get the current data out of my spreadsheet.