I was hoping to query an API for the google maps Timeline information they store about my phones whereabouts. For example, I was hoping to query an API for average travel time between two locations in that history.
Unfortunately, Google doesn’t appear to have such an API… but you can download the data with Google Takeout. I went here, which allowed me to download this data. I asked for JSON data and it provided me a 1.2MB zip file… it was surprising how small the data was.
Once extracted it was a 10MB JSON file with 400k lines, a little more substantial.
Now to work out how to calculate the average time to get to work. (Wishing there was an API for this)