GMail has a handy-dandy window that lets you export all of your contacts as a CSV file. If you do this then look at your browser's history, you see that the URL used to initiate the download looks something like:
I would like to write a batch script in Python that will automatically download this CSV file every night to my server, but I cannot figure out how to get the "tok". I've looked into Google's OAuth, but it seems to be a human-interactive process, whereas I need this to happen at 3AM when all available humans will be asleep.
Can this be done, or has Google made my e-mail account so "secure" that I cannot access it via an unattended script?
Thank you! Bryon M. Elliott