Extfiltrating Google Location History from Timeline

空扰寡人 提交于 2019-12-02 17:19:15

This will give the latest points, I believe:

 https://www.google.com/maps/timeline/kml

According to this question - Current URL To Download KML Data From Google Location History? - the URL format is:

Eg https://www.google.com/maps/timeline/kml?authuser=0&pb=!1m8!1m3!1i2015!2i7!3i1!2m3!1i2015!2i7!3i8 gives 7 days.

Highlighting the parts of the date: pb=!1m8!1m3!1i2015!2i7!3i8!2m3!1i2015!2i7!3i8

Note the month is zero based, so one off normal, 0=Jan, 11=Dec

So, in order to get today's date (2015-09-01) the URL needs to be

https://www.google.com/maps/timeline/kml?authuser=0&pb=!1m8!1m3!1i2015!2i8!3i1!2m3!1i2015!2i8!3i1

i.e.

pb=!1m8!1m3!1iYYYY!2iMM!3iDD!2m3!1iYYYY!2iMM!3iDD

Where MM is a Javascript style zero-based month.

Within the KML, the times are West Coast USA - e.g. <when>2015-09-01T12:15:37.836-07:00</when>

So your requests may need to take that into account.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!