I want to automate the process of downloading my Google Takeout data and uploading it somewhere else. The part of handling the file and uploading it is already done (here is my self answer about that).
But what's still missing is getting the archive. I couldn't find any way to do that. The closest I got is this question where none of the answers tells me how to create a Takeout archive, one claims that it "seems to be almost impossible", but that was in 2014, and this help page, which seems to be about something else, not Google Takeout (or maybe it is? I didn't understand everything).
The reason why I didn't just put a bounty onto the existing question is that I don't want the files on Google Drive (which can be done directly when creating the archive), but download them.
I would prefer a simple "one cmd line to create the archive, one to download it" solution, but if it requires writing a program, so be it.
I want the archive to be complete, so not just GMail or Google Drive.
I'm using Debian 9.6, but that should likely not matter.