Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to get Google Maps Shared Locations via API?

Google Maps has a wonderful Contact Location Sharing feature. Does anyone know if this data is available programmatically? It would would be helpful to have access to mine and my wife's location for things like Home Automation or scripting

like image 310
xd1936 Avatar asked Sep 17 '17 19:09

xd1936


People also ask

Can we use Google location API for free?

As mentioned, you won't be charged for your Google Maps API usage until you turn on auto-billing. The free trial limits you to $300 in credit over 90 days. API users also get $200 of credit per month toward API requests, equal to 100,000 static map requests or around 28,000 dynamic map requests per month.

Is there a Google Maps API?

The Google Maps Platform is a set of APIs and SDKs that allows developers to embed Google Maps into mobile apps and web pages, or to retrieve data from Google Maps.


2 Answers

Shared locations are not available via Google Maps API at the moment. There is a feature request in Google issue tracker for this:

https://issuetracker.google.com/issues/62938530

You can add star to this feature request to express your interest and subscribe to future notifications from Google.

like image 58
xomena Avatar answered Sep 22 '22 02:09

xomena


Unofficial Python library for this that's based on session cookies. Who knows how long that'll last:

https://github.com/costastf/locationsharinglib

like image 26
xd1936 Avatar answered Sep 21 '22 02:09

xd1936