Google maps 获取用户位置历史记录的Google api

Google maps 获取用户位置历史记录的Google api,google-maps,google-api,google-latitude,Google Maps,Google Api,Google Latitude,我正在寻找一个谷歌api来获取用户的位置历史,我知道谷歌正在存储用户的位置历史,我们可以跟踪它从- 但是谷歌是否提供了一个api,通过它我们可以通过一个应用程序访问这个用户历史记录,我想谷歌纬度过去只是这样,但我不确定它是否会被关闭。据我所知,没有一个api可以实现你所追求的目标。我甚至不认为latitude API为其他用户提供了跟踪功能 从逻辑上讲,如果它确实存在,可能有点侵犯隐私。大多数人在安装应用程序时不会阅读t&C或权限,因此很容易将其用于错误的目的 尽管没有现成的API可供使用,但

我正在寻找一个谷歌api来获取用户的位置历史,我知道谷歌正在存储用户的位置历史,我们可以跟踪它从-


但是谷歌是否提供了一个api,通过它我们可以通过一个应用程序访问这个用户历史记录,我想谷歌纬度过去只是这样,但我不确定它是否会被关闭。

据我所知,没有一个api可以实现你所追求的目标。我甚至不认为latitude API为其他用户提供了跟踪功能


从逻辑上讲,如果它确实存在,可能有点侵犯隐私。大多数人在安装应用程序时不会阅读t&C或权限,因此很容易将其用于错误的目的

尽管没有现成的API可供使用,但可以基于Curl构建一个脚本,以设置正确的cookies并检索Terence Eden所描述的内容


另一种方法——虽然不太适合应用程序——是创建一个谷歌账户信息的存档(只选择位置历史信息以保持较小),然后获得一个包含所有位置信息的Json文件。

我在谷歌地图网站上找到了这一点。还有其他类似多边形的类。我没有试过,但希望它能起作用

// Instantiates a new Polyline object and adds points to define a rectangle    
 PolylineOptions rectOptions = new PolylineOptions()
            .add(new LatLng(37.35, -122.0))
            .add(new LatLng(37.45, -122.0))      
// North of the previous point, but at the same     
    longitude.add(new LatLng(37.45, -122.2))      
// Same latitude, and 30km to the west    
            .add(new LatLng(37.35, -122.2))      
// Same longitude, and 16km to the south    
            .add(new LatLng(37.35, -122.0));     
// Closes the polyline.    
// Get back the mutable Polylineenter code here
Polyline polyline = myMap.addPolyline(rectOptions);