Esri's Geotrigger Service is replacing Geoloqi! Learn More | FAQ

group/locations/:token

Contents

URL

https://api.geoloqi.com/1/group/locations/:token

Description

Retrieve the location history for all users who are publishing to the group.

Supported Request Methods

GET

Parameters

No parameters are required for this method. The client must only pass its OAuth token.

See API/Paging for optional parameters.

Example Request

$ curl https://api.geoloqi.com/1/group/locations/d6Qwh1eSy -H \
"Authorization: OAuth Log in to get your personal access token"

Response

{
  "locations": [
    {
     "user":{
      "user_id":"KU",
      "username":"_dCgDB1gV6qvhXgVF0",
      "name":"Test Account",
      "display_name":"Test Account",
      "bio":"",
      "website":"",
      "timezone":"UTC",
      "twitter":false,
      "profile_image":"https:\/\/s3.amazonaws.com\/geoloqi\/blank-profile-image-orange.png",
      "is_anonymous":1,
      "has_custom_username":0,
      "has_push_token":0,
      "public_location":0,
      "public_geonotes":1,
      "public_geonote_email":1,
      "timezone_offset":"+0000",
      "extra":{
        "param":"foo"
      }
   },
  "history": [
                {
                    "date": "2010-10-20T02:31:44+00:00", 
                    "date_ts": 1287541904, 
                    "location": {
                        "position": {
                            "altitude": 0, 
                            "heading": 0, 
                            "horizontal_accuracy": 110, 
                            "latitude": 45.512161121834, 
                            "longitude": -122.64325623352, 
                            "speed": 0, 
                            "vertical_accuracy": -1
                        }, 
                        "type": "point"
                    }, 
                    "raw": {
                        "battery": -100, 
                        "distance_filter": 0, 
                        "rate_limit": 0, 
                        "tracking_limit": 0
                    }, 
                    "uuid": "49870680-6a2b-4a9d-8e27-551c4b3e7b67"
                }        
        ]
    }
  ]
}