google maps your timeline api

google maps' new feature your timeline seems to be useful to retrieve location history for a given user, my question is how to use google maps to retrieve this timeline ? it is possible ? sorry am new to google world and i have looked for this information on their site but no news.

Thanks !


No. There isn't an API, this time, to get data from the timeline, but the data can be access from takeout by the user. So the only thing you can do is request from the user to upload the JSON(or KML) file of the data.

You can put in your site a url like this: and tell to user to download the json file and upload it.