{"_id":"59e70b9ee027ae002e7d2eee","category":{"_id":"59e70b9ee027ae002e7d2ed6","version":"59e70b9ee027ae002e7d2ed2","project":"5496d393f52a630b00519cdd","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-12-21T18:05:46.941Z","from_sync":false,"order":3,"slug":"rest-api","title":"REST API"},"user":"5496d353f52a630b00519cdc","project":"5496d393f52a630b00519cdd","parentDoc":null,"version":{"_id":"59e70b9ee027ae002e7d2ed2","project":"5496d393f52a630b00519cdd","__v":2,"createdAt":"2017-10-18T08:06:54.462Z","releaseDate":"2017-10-18T08:06:54.462Z","categories":["59e70b9ee027ae002e7d2ed3","59e70b9ee027ae002e7d2ed4","59e70b9ee027ae002e7d2ed5","59e70b9ee027ae002e7d2ed6","59e70b9ee027ae002e7d2ed7","59e70b9ee027ae002e7d2ed8","59e70b9ee027ae002e7d2ed9","59e70b9ee027ae002e7d2eda","59e70b9ee027ae002e7d2edb","59e70b9ee027ae002e7d2edc","59e70b9ee027ae002e7d2edd","59e70b9ee027ae002e7d2ede","59e70b9ee027ae002e7d2edf","5b8661ccdd19310003a3fa0b"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.10","version":"2.0.10"},"githubsync":"","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-12-22T10:32:04.055Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"get","results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":7,"body":"##Significance\nPlacer creates a significance rank for each place based on the user’s behaviour (time spent, number of visits, place type, etc). The place with significance rank that  equals 1 is most likely to be the most important place to the user, i.e. home.\nSignificance is used to distinct between primary and secondary places under the same category, for example: main workplace and secondary, favorite restaurant, etc.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Parameters\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Field\",\n    \"h-1\": \"Description\",\n    \"h-2\": \"Type\",\n    \"h-3\": \"Example\",\n    \"0-0\": \"active_since\\n*(optional)\\n*\",\n    \"1-0\": \"limit\\n*(default=25)*\",\n    \"2-0\": \"skip\\n*(optional)*\",\n    \"3-0\": \"start_date\\n*(default= one month ago)*\",\n    \"4-0\": \"end_date\\n*(optional)*\",\n    \"5-0\": \"order\\n(default=\\n*last_visit_time_desc)\\n*\",\n    \"6-0\": \"type\\n*(optional)\\n*\",\n    \"0-1\": \"Filters results to devices that were active since a specific date (relevant only for query by user id).\",\n    \"0-2\": \"YYYY-MM-DD\",\n    \"0-3\": \"2013-12-25\",\n    \"1-1\": \"Limits the number of items returned\",\n    \"3-1\": \"Places that were visited starting from this date (date starts at midnight)\\nDefault value is one month back.\",\n    \"4-1\": \"Places that were visited up to (not including) this date\",\n    \"2-1\": \"Skips the first items.\\n\\n*Only available in for device_id queries.*\",\n    \"5-1\": \"How to order the results:\\n  * **significance_asc** - by ascending significance rank, i.e. places with more importance to user will be first.\\n  * **last_visit_time_desc** - by  descending last visit time, i.e. places that were visited recently will be first.\",\n    \"6-1\": \"Filter the returned places to include specific types. See [Places Types](doc:places-types) table for list of potential values.\\nEither single type or list of types can be provided.\",\n    \"6-2\": \"string or list\",\n    \"6-3\": \"[“Home”,”Work”,”School”]\",\n    \"5-3\": \"significance_asc\",\n    \"5-2\": \"string\",\n    \"4-2\": \"YYYY-MM-DD\",\n    \"3-2\": \"YYYY-MM-DD\",\n    \"2-2\": \"int\",\n    \"1-2\": \"int\",\n    \"1-3\": \"100\",\n    \"2-3\": \"12\",\n    \"3-3\": \"2014-01-30\",\n    \"4-3\": \"2014-02-03\",\n    \"7-0\": \"fields\\n*(optional)\\n*\",\n    \"7-1\": \"By default, not all place fields are returned when you make a query. You may set the following:\\n- \\\"statistics\\\": returns the place statistics.\\n- \\\"visits\\\": returns the place visits\",\n    \"7-2\": \"string or string array\",\n    \"7-3\": \"visits,statistics\"\n  },\n  \"cols\": 4,\n  \"rows\": 8\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Response\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Field\",\n    \"h-1\": \"Description\",\n    \"h-2\": \"Type\",\n    \"h-3\": \"Example\",\n    \"0-3\": \"e0fc05c3478926023\",\n    \"1-1\": \"Total count of places that match the query and are related to this device_id\",\n    \"2-1\": \"The data of places that match the query.\",\n    \"2-2\": \"JSON array\\nof [Place Structure](doc:place)\",\n    \"1-2\": \"int\",\n    \"1-3\": \"158\",\n    \"0-2\": \"string\",\n    \"0-1\": \"The device_id.\",\n    \"0-0\": \"device_id\",\n    \"1-0\": \"places_count\",\n    \"2-0\": \"places\"\n  },\n  \"cols\": 4,\n  \"rows\": 3\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Example\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n    \\\"data\\\": [\\n        {\\n            \\\"device_id\\\": \\\"57336937fdef2648247f69d6\\\", \\n            \\\"places\\\": [\\n                {\\n                    \\\"estimated_address\\\": {\\n                        \\\"city\\\": \\\"Santa Cruz\\\", \\n                        \\\"country\\\": \\\"United States\\\", \\n                        \\\"formatted_address\\\": \\\"605 Pacific Avenue, Santa Cruz, California, United States\\\", \\n                        \\\"formatted_city\\\": \\\"Santa Cruz, California, United States\\\", \\n                        \\\"postal_code\\\": \\\"95060.0\\\", \\n                        \\\"state\\\": \\\"California\\\", \\n                        \\\"street_address\\\": \\\"605 Pacific Avenue\\\"\\n                    }, \\n                    \\\"estimated_geolocation\\\": {\\n                        \\\"accuracy\\\": 3.828580500772899, \\n                        \\\"lat\\\": 36.96757992585797, \\n                        \\\"long\\\": -122.02490950325557\\n                    }, \\n                    \\\"first_visit_time\\\": \\\"2016-09-28T21:26:04.236Z\\\", \\n                    \\\"id\\\": \\\"57ec9b1ae4b0c23f07ff6139\\\", \\n                    \\\"last_visit_time\\\": \\\"2016-10-05T04:21:06.676Z\\\", \\n                    \\\"significance\\\": 0, \\n                    \\\"statistics\\\": {\\n                        \\\"at_place_percentage\\\": 0.21, \\n                        \\\"avg_visit_time\\\": 709, \\n                        \\\"total_visits_time\\\": 7808, \\n                        \\\"visit_count\\\": 11\\n                    }, \\n                    \\\"type\\\": \\\"Residence\\\", \\n                    \\\"type_id\\\": 19, \\n                    \\\"visits\\\": [\\n                        {\\n                            \\\"end_time\\\": \\\"2016-09-29T11:24:50.134-07:00\\\", \\n                            \\\"event_type\\\": \\\"visit\\\", \\n                            \\\"id\\\": \\\"57ec9b14fdef265258e66e4b\\\", \\n                            \\\"is_confirmed\\\": false, \\n                            \\\"is_ongoing\\\": false, \\n                            \\\"place_id\\\": \\\"57ec9b1ae4b0c23f07ff6139\\\", \\n                            \\\"start_time\\\": \\\"2016-09-28T14:26:04.236-07:00\\\"\\n                        }, \\n                        {\\n                            \\\"end_time\\\": \\\"2016-09-29T17:45:29.214-07:00\\\", \\n                            \\\"event_type\\\": \\\"visit\\\", \\n                            \\\"id\\\": \\\"57ed762bfdef267f86e66dfd\\\", \\n                            \\\"is_confirmed\\\": false, \\n                            \\\"is_ongoing\\\": false, \\n                            \\\"place_id\\\": \\\"57ec9b1ae4b0c23f07ff6139\\\", \\n                            \\\"start_time\\\": \\\"2016-09-29T12:55:23.240-07:00\\\"\\n                        }, \\n                        {\\n                            \\\"end_time\\\": \\\"2016-09-30T10:21:29.045-07:00\\\", \\n                            \\\"event_type\\\": \\\"visit\\\", \\n                            \\\"id\\\": \\\"57edc669fdef26115ae66e96\\\", \\n                            \\\"is_confirmed\\\": false, \\n                            \\\"is_ongoing\\\": false, \\n                            \\\"place_id\\\": \\\"57ec9b1ae4b0c23f07ff6139\\\", \\n                            \\\"start_time\\\": \\\"2016-09-29T18:41:31.621-07:00\\\"\\n                        }, \\n                        {\\n                            \\\"end_time\\\": \\\"2016-10-01T12:17:33.289-07:00\\\", \\n                            \\\"event_type\\\": \\\"visit\\\", \\n                            \\\"id\\\": \\\"57eea9bbfdef263bf4e66fd0\\\", \\n                            \\\"is_confirmed\\\": false, \\n                            \\\"is_ongoing\\\": false, \\n                            \\\"place_id\\\": \\\"57ec9b1ae4b0c23f07ff6139\\\", \\n                            \\\"start_time\\\": \\\"2016-09-30T10:53:03.614-07:00\\\"\\n                        }, \\n                        {\\n                            \\\"end_time\\\": \\\"2016-10-01T19:27:19.576-07:00\\\", \\n                            \\\"event_type\\\": \\\"visit\\\", \\n                            \\\"id\\\": \\\"57f03ea7fdef260aa3e66f9d\\\", \\n                            \\\"is_confirmed\\\": false, \\n                            \\\"is_ongoing\\\": false, \\n                            \\\"place_id\\\": \\\"57ec9b1ae4b0c23f07ff6139\\\", \\n                            \\\"start_time\\\": \\\"2016-10-01T15:33:02.619-07:00\\\"\\n                        }, \\n                        {\\n                            \\\"end_time\\\": \\\"2016-10-02T11:43:55.958-07:00\\\", \\n                            \\\"event_type\\\": \\\"visit\\\", \\n                            \\\"id\\\": \\\"57f0a084fdef261d08e66e9c\\\", \\n                            \\\"is_confirmed\\\": false, \\n                            \\\"is_ongoing\\\": false, \\n                            \\\"place_id\\\": \\\"57ec9b1ae4b0c23f07ff6139\\\", \\n                            \\\"start_time\\\": \\\"2016-10-01T22:33:51.550-07:00\\\"\\n                        }, \\n                        {\\n                            \\\"end_time\\\": \\\"2016-10-03T14:59:29.147-07:00\\\", \\n                            \\\"event_type\\\": \\\"visit\\\", \\n                            \\\"id\\\": \\\"57f1aa14fdef2650b1e66e30\\\", \\n                            \\\"is_confirmed\\\": false, \\n                            \\\"is_ongoing\\\": false, \\n                            \\\"place_id\\\": \\\"57ec9b1ae4b0c23f07ff6139\\\", \\n                            \\\"start_time\\\": \\\"2016-10-02T17:23:42.145-07:00\\\"\\n                        }, \\n                        {\\n                            \\\"end_time\\\": \\\"2016-10-03T17:48:12.426-07:00\\\", \\n                            \\\"event_type\\\": \\\"visit\\\", \\n                            \\\"id\\\": \\\"57f3240bfdef261a7ce66f47\\\", \\n                            \\\"is_confirmed\\\": false, \\n                            \\\"is_ongoing\\\": false, \\n                            \\\"place_id\\\": \\\"57ec9b1ae4b0c23f07ff6139\\\", \\n                            \\\"start_time\\\": \\\"2016-10-03T16:26:03.853-07:00\\\"\\n                        }, \\n                        {\\n                            \\\"end_time\\\": \\\"2016-10-04T13:51:20.368-07:00\\\", \\n                            \\\"event_type\\\": \\\"visit\\\", \\n                            \\\"id\\\": \\\"57f3240bfdef261a7ce66f49\\\", \\n                            \\\"is_confirmed\\\": false, \\n                            \\\"is_ongoing\\\": false, \\n                            \\\"place_id\\\": \\\"57ec9b1ae4b0c23f07ff6139\\\", \\n                            \\\"start_time\\\": \\\"2016-10-03T18:34:05.325-07:00\\\"\\n                        }, \\n                        {\\n                            \\\"end_time\\\": \\\"2016-10-04T19:08:39.990-07:00\\\", \\n                            \\\"event_type\\\": \\\"visit\\\", \\n                            \\\"id\\\": \\\"57f47f7cfdef265b80e66f56\\\", \\n                            \\\"is_confirmed\\\": false, \\n                            \\\"is_ongoing\\\": false, \\n                            \\\"place_id\\\": \\\"57ec9b1ae4b0c23f07ff6139\\\", \\n                            \\\"start_time\\\": \\\"2016-10-04T15:28:19.853-07:00\\\"\\n                        }, \\n                        {\\n                            \\\"end_time\\\": \\\"2016-10-04T21:21:06.676-07:00\\\", \\n                            \\\"event_type\\\": \\\"visit\\\", \\n                            \\\"id\\\": \\\"57f47f7cfdef265b80e66f58\\\", \\n                            \\\"is_confirmed\\\": false, \\n                            \\\"is_ongoing\\\": true, \\n                            \\\"place_id\\\": \\\"57ec9b1ae4b0c23f07ff6139\\\", \\n                            \\\"start_time\\\": \\\"2016-10-04T21:05:51.986-07:00\\\"\\n                        }\\n                    ]\\n                }, \\n                {\\n                    \\\"estimated_address\\\": {\\n                        \\\"city\\\": \\\"Santa Cruz\\\", \\n                        \\\"country\\\": \\\"United States\\\", \\n                        \\\"formatted_address\\\": \\\"Walnut Avenue, Santa Cruz, California, United States\\\", \\n                        \\\"formatted_city\\\": \\\"Santa Cruz, California, United States\\\", \\n                        \\\"postal_code\\\": \\\"95060.0\\\", \\n                        \\\"state\\\": \\\"California\\\", \\n                        \\\"street_address\\\": \\\"Walnut Avenue\\\"\\n                    }, \\n                    \\\"estimated_geolocation\\\": {\\n                        \\\"accuracy\\\": 8.72183669876564, \\n                        \\\"lat\\\": 36.9726328394542, \\n                        \\\"long\\\": -122.02771345617225\\n                    }, \\n                    \\\"first_visit_time\\\": \\\"2016-10-05T02:20:05.870Z\\\", \\n                    \\\"id\\\": \\\"57b515dee4b0a41345fc89fe\\\", \\n                    \\\"last_visit_time\\\": \\\"2016-10-05T04:01:24.688Z\\\", \\n                    \\\"significance\\\": 0, \\n                    \\\"statistics\\\": {\\n                        \\\"at_place_percentage\\\": 0.0, \\n                        \\\"avg_visit_time\\\": 101, \\n                        \\\"total_visits_time\\\": 101, \\n                        \\\"visit_count\\\": 1\\n                    }, \\n                    \\\"type\\\": \\\"Movie Theater\\\", \\n                    \\\"type_id\\\": 5, \\n                    \\\"venue_info\\\": {\\n                        \\\"category\\\": \\\"Movie Theater\\\", \\n                        \\\"name\\\": \\\"The Nick\\\", \\n                        \\\"probability\\\": 0.984193510430788, \\n                        \\\"sub_category\\\": \\\"Movie Theater\\\"\\n                    }, \\n                    \\\"visits\\\": [\\n                        {\\n                            \\\"end_time\\\": \\\"2016-08-17T21:10:53.930-07:00\\\", \\n                            \\\"event_type\\\": \\\"visit\\\", \\n                            \\\"id\\\": \\\"57b515ddfdef2628122f544d\\\", \\n                            \\\"is_confirmed\\\": false, \\n                            \\\"is_ongoing\\\": false, \\n                            \\\"place_id\\\": \\\"57b515dee4b0a41345fc89fe\\\", \\n                            \\\"start_time\\\": \\\"2016-08-17T18:39:01.010-07:00\\\"\\n                        }, \\n                        {\\n                            \\\"end_time\\\": \\\"2016-08-20T21:12:06.504-07:00\\\", \\n                            \\\"event_type\\\": \\\"visit\\\", \\n                            \\\"id\\\": \\\"57b9281cfdef2610232f5441\\\", \\n                            \\\"is_confirmed\\\": false, \\n                            \\\"is_ongoing\\\": false, \\n                            \\\"place_id\\\": \\\"57b515dee4b0a41345fc89fe\\\", \\n                            \\\"start_time\\\": \\\"2016-08-20T18:51:11.251-07:00\\\"\\n                        }, \\n                        {\\n                            \\\"end_time\\\": \\\"2016-08-21T20:47:10.184-07:00\\\", \\n                            \\\"event_type\\\": \\\"visit\\\", \\n                            \\\"id\\\": \\\"57ba8654fdef266117a3b95d\\\", \\n                            \\\"is_confirmed\\\": false, \\n                            \\\"is_ongoing\\\": false, \\n                            \\\"place_id\\\": \\\"57b515dee4b0a41345fc89fe\\\", \\n                            \\\"start_time\\\": \\\"2016-08-21T18:47:02.537-07:00\\\"\\n                        }, \\n                        {\\n                            \\\"end_time\\\": \\\"2016-10-04T21:01:24.688-07:00\\\", \\n                            \\\"event_type\\\": \\\"visit\\\", \\n                            \\\"id\\\": \\\"57f47f7cfdef265b80e66f57\\\", \\n                            \\\"is_confirmed\\\": false, \\n                            \\\"is_ongoing\\\": false, \\n                            \\\"place_id\\\": \\\"57b515dee4b0a41345fc89fe\\\", \\n                            \\\"start_time\\\": \\\"2016-10-04T19:20:05.870-07:00\\\"\\n                        }\\n                    ]\\n                }\\n            ], \\n            \\\"places_count\\\": 2\\n        }\\n    ], \\n    \\\"error_code\\\": 0, \\n    \\\"result\\\": \\\"SUCCESS\\\", \\n    \\\"total_count\\\": 1\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"1 - HTTPS api.placer.io/v2/apps/**APP_KEY**/users/**USER_ID**/places\n\n2 - HTTPS api.placer.io/v2/apps/**APP_KEY**/devices/**DEVICE_ID**/places\n\n*User’s places provides a list of  places visited, such as: home, work, church, restaurants, etc. *\n\nPlaces are related to device_id. If user_id is used to query (the first query URL template), results will be returned as a list of related device_ids with places for each device. When querying using user_id, results are limited to the top 25 places that matched the query per device ID. For further information regarding the difference between user ID and device ID, please see [User_ID & Device_ID](doc:user_id--device_id) .","slug":"user-places","type":"endpoint","title":"Places"}

getPlaces

1 - HTTPS api.placer.io/v2/apps/**APP_KEY**/users/**USER_ID**/places 2 - HTTPS api.placer.io/v2/apps/**APP_KEY**/devices/**DEVICE_ID**/places *User’s places provides a list of places visited, such as: home, work, church, restaurants, etc. * Places are related to device_id. If user_id is used to query (the first query URL template), results will be returned as a list of related device_ids with places for each device. When querying using user_id, results are limited to the top 25 places that matched the query per device ID. For further information regarding the difference between user ID and device ID, please see [User_ID & Device_ID](doc:user_id--device_id) .

##Significance Placer creates a significance rank for each place based on the user’s behaviour (time spent, number of visits, place type, etc). The place with significance rank that equals 1 is most likely to be the most important place to the user, i.e. home. Significance is used to distinct between primary and secondary places under the same category, for example: main workplace and secondary, favorite restaurant, etc. [block:api-header] { "type": "basic", "title": "Parameters" } [/block] [block:parameters] { "data": { "h-0": "Field", "h-1": "Description", "h-2": "Type", "h-3": "Example", "0-0": "active_since\n*(optional)\n*", "1-0": "limit\n*(default=25)*", "2-0": "skip\n*(optional)*", "3-0": "start_date\n*(default= one month ago)*", "4-0": "end_date\n*(optional)*", "5-0": "order\n(default=\n*last_visit_time_desc)\n*", "6-0": "type\n*(optional)\n*", "0-1": "Filters results to devices that were active since a specific date (relevant only for query by user id).", "0-2": "YYYY-MM-DD", "0-3": "2013-12-25", "1-1": "Limits the number of items returned", "3-1": "Places that were visited starting from this date (date starts at midnight)\nDefault value is one month back.", "4-1": "Places that were visited up to (not including) this date", "2-1": "Skips the first items.\n\n*Only available in for device_id queries.*", "5-1": "How to order the results:\n * **significance_asc** - by ascending significance rank, i.e. places with more importance to user will be first.\n * **last_visit_time_desc** - by descending last visit time, i.e. places that were visited recently will be first.", "6-1": "Filter the returned places to include specific types. See [Places Types](doc:places-types) table for list of potential values.\nEither single type or list of types can be provided.", "6-2": "string or list", "6-3": "[“Home”,”Work”,”School”]", "5-3": "significance_asc", "5-2": "string", "4-2": "YYYY-MM-DD", "3-2": "YYYY-MM-DD", "2-2": "int", "1-2": "int", "1-3": "100", "2-3": "12", "3-3": "2014-01-30", "4-3": "2014-02-03", "7-0": "fields\n*(optional)\n*", "7-1": "By default, not all place fields are returned when you make a query. You may set the following:\n- \"statistics\": returns the place statistics.\n- \"visits\": returns the place visits", "7-2": "string or string array", "7-3": "visits,statistics" }, "cols": 4, "rows": 8 } [/block] [block:api-header] { "type": "basic", "title": "Response" } [/block] [block:parameters] { "data": { "h-0": "Field", "h-1": "Description", "h-2": "Type", "h-3": "Example", "0-3": "e0fc05c3478926023", "1-1": "Total count of places that match the query and are related to this device_id", "2-1": "The data of places that match the query.", "2-2": "JSON array\nof [Place Structure](doc:place)", "1-2": "int", "1-3": "158", "0-2": "string", "0-1": "The device_id.", "0-0": "device_id", "1-0": "places_count", "2-0": "places" }, "cols": 4, "rows": 3 } [/block] [block:api-header] { "type": "basic", "title": "Example" } [/block] [block:code] { "codes": [ { "code": "{\n \"data\": [\n {\n \"device_id\": \"57336937fdef2648247f69d6\", \n \"places\": [\n {\n \"estimated_address\": {\n \"city\": \"Santa Cruz\", \n \"country\": \"United States\", \n \"formatted_address\": \"605 Pacific Avenue, Santa Cruz, California, United States\", \n \"formatted_city\": \"Santa Cruz, California, United States\", \n \"postal_code\": \"95060.0\", \n \"state\": \"California\", \n \"street_address\": \"605 Pacific Avenue\"\n }, \n \"estimated_geolocation\": {\n \"accuracy\": 3.828580500772899, \n \"lat\": 36.96757992585797, \n \"long\": -122.02490950325557\n }, \n \"first_visit_time\": \"2016-09-28T21:26:04.236Z\", \n \"id\": \"57ec9b1ae4b0c23f07ff6139\", \n \"last_visit_time\": \"2016-10-05T04:21:06.676Z\", \n \"significance\": 0, \n \"statistics\": {\n \"at_place_percentage\": 0.21, \n \"avg_visit_time\": 709, \n \"total_visits_time\": 7808, \n \"visit_count\": 11\n }, \n \"type\": \"Residence\", \n \"type_id\": 19, \n \"visits\": [\n {\n \"end_time\": \"2016-09-29T11:24:50.134-07:00\", \n \"event_type\": \"visit\", \n \"id\": \"57ec9b14fdef265258e66e4b\", \n \"is_confirmed\": false, \n \"is_ongoing\": false, \n \"place_id\": \"57ec9b1ae4b0c23f07ff6139\", \n \"start_time\": \"2016-09-28T14:26:04.236-07:00\"\n }, \n {\n \"end_time\": \"2016-09-29T17:45:29.214-07:00\", \n \"event_type\": \"visit\", \n \"id\": \"57ed762bfdef267f86e66dfd\", \n \"is_confirmed\": false, \n \"is_ongoing\": false, \n \"place_id\": \"57ec9b1ae4b0c23f07ff6139\", \n \"start_time\": \"2016-09-29T12:55:23.240-07:00\"\n }, \n {\n \"end_time\": \"2016-09-30T10:21:29.045-07:00\", \n \"event_type\": \"visit\", \n \"id\": \"57edc669fdef26115ae66e96\", \n \"is_confirmed\": false, \n \"is_ongoing\": false, \n \"place_id\": \"57ec9b1ae4b0c23f07ff6139\", \n \"start_time\": \"2016-09-29T18:41:31.621-07:00\"\n }, \n {\n \"end_time\": \"2016-10-01T12:17:33.289-07:00\", \n \"event_type\": \"visit\", \n \"id\": \"57eea9bbfdef263bf4e66fd0\", \n \"is_confirmed\": false, \n \"is_ongoing\": false, \n \"place_id\": \"57ec9b1ae4b0c23f07ff6139\", \n \"start_time\": \"2016-09-30T10:53:03.614-07:00\"\n }, \n {\n \"end_time\": \"2016-10-01T19:27:19.576-07:00\", \n \"event_type\": \"visit\", \n \"id\": \"57f03ea7fdef260aa3e66f9d\", \n \"is_confirmed\": false, \n \"is_ongoing\": false, \n \"place_id\": \"57ec9b1ae4b0c23f07ff6139\", \n \"start_time\": \"2016-10-01T15:33:02.619-07:00\"\n }, \n {\n \"end_time\": \"2016-10-02T11:43:55.958-07:00\", \n \"event_type\": \"visit\", \n \"id\": \"57f0a084fdef261d08e66e9c\", \n \"is_confirmed\": false, \n \"is_ongoing\": false, \n \"place_id\": \"57ec9b1ae4b0c23f07ff6139\", \n \"start_time\": \"2016-10-01T22:33:51.550-07:00\"\n }, \n {\n \"end_time\": \"2016-10-03T14:59:29.147-07:00\", \n \"event_type\": \"visit\", \n \"id\": \"57f1aa14fdef2650b1e66e30\", \n \"is_confirmed\": false, \n \"is_ongoing\": false, \n \"place_id\": \"57ec9b1ae4b0c23f07ff6139\", \n \"start_time\": \"2016-10-02T17:23:42.145-07:00\"\n }, \n {\n \"end_time\": \"2016-10-03T17:48:12.426-07:00\", \n \"event_type\": \"visit\", \n \"id\": \"57f3240bfdef261a7ce66f47\", \n \"is_confirmed\": false, \n \"is_ongoing\": false, \n \"place_id\": \"57ec9b1ae4b0c23f07ff6139\", \n \"start_time\": \"2016-10-03T16:26:03.853-07:00\"\n }, \n {\n \"end_time\": \"2016-10-04T13:51:20.368-07:00\", \n \"event_type\": \"visit\", \n \"id\": \"57f3240bfdef261a7ce66f49\", \n \"is_confirmed\": false, \n \"is_ongoing\": false, \n \"place_id\": \"57ec9b1ae4b0c23f07ff6139\", \n \"start_time\": \"2016-10-03T18:34:05.325-07:00\"\n }, \n {\n \"end_time\": \"2016-10-04T19:08:39.990-07:00\", \n \"event_type\": \"visit\", \n \"id\": \"57f47f7cfdef265b80e66f56\", \n \"is_confirmed\": false, \n \"is_ongoing\": false, \n \"place_id\": \"57ec9b1ae4b0c23f07ff6139\", \n \"start_time\": \"2016-10-04T15:28:19.853-07:00\"\n }, \n {\n \"end_time\": \"2016-10-04T21:21:06.676-07:00\", \n \"event_type\": \"visit\", \n \"id\": \"57f47f7cfdef265b80e66f58\", \n \"is_confirmed\": false, \n \"is_ongoing\": true, \n \"place_id\": \"57ec9b1ae4b0c23f07ff6139\", \n \"start_time\": \"2016-10-04T21:05:51.986-07:00\"\n }\n ]\n }, \n {\n \"estimated_address\": {\n \"city\": \"Santa Cruz\", \n \"country\": \"United States\", \n \"formatted_address\": \"Walnut Avenue, Santa Cruz, California, United States\", \n \"formatted_city\": \"Santa Cruz, California, United States\", \n \"postal_code\": \"95060.0\", \n \"state\": \"California\", \n \"street_address\": \"Walnut Avenue\"\n }, \n \"estimated_geolocation\": {\n \"accuracy\": 8.72183669876564, \n \"lat\": 36.9726328394542, \n \"long\": -122.02771345617225\n }, \n \"first_visit_time\": \"2016-10-05T02:20:05.870Z\", \n \"id\": \"57b515dee4b0a41345fc89fe\", \n \"last_visit_time\": \"2016-10-05T04:01:24.688Z\", \n \"significance\": 0, \n \"statistics\": {\n \"at_place_percentage\": 0.0, \n \"avg_visit_time\": 101, \n \"total_visits_time\": 101, \n \"visit_count\": 1\n }, \n \"type\": \"Movie Theater\", \n \"type_id\": 5, \n \"venue_info\": {\n \"category\": \"Movie Theater\", \n \"name\": \"The Nick\", \n \"probability\": 0.984193510430788, \n \"sub_category\": \"Movie Theater\"\n }, \n \"visits\": [\n {\n \"end_time\": \"2016-08-17T21:10:53.930-07:00\", \n \"event_type\": \"visit\", \n \"id\": \"57b515ddfdef2628122f544d\", \n \"is_confirmed\": false, \n \"is_ongoing\": false, \n \"place_id\": \"57b515dee4b0a41345fc89fe\", \n \"start_time\": \"2016-08-17T18:39:01.010-07:00\"\n }, \n {\n \"end_time\": \"2016-08-20T21:12:06.504-07:00\", \n \"event_type\": \"visit\", \n \"id\": \"57b9281cfdef2610232f5441\", \n \"is_confirmed\": false, \n \"is_ongoing\": false, \n \"place_id\": \"57b515dee4b0a41345fc89fe\", \n \"start_time\": \"2016-08-20T18:51:11.251-07:00\"\n }, \n {\n \"end_time\": \"2016-08-21T20:47:10.184-07:00\", \n \"event_type\": \"visit\", \n \"id\": \"57ba8654fdef266117a3b95d\", \n \"is_confirmed\": false, \n \"is_ongoing\": false, \n \"place_id\": \"57b515dee4b0a41345fc89fe\", \n \"start_time\": \"2016-08-21T18:47:02.537-07:00\"\n }, \n {\n \"end_time\": \"2016-10-04T21:01:24.688-07:00\", \n \"event_type\": \"visit\", \n \"id\": \"57f47f7cfdef265b80e66f57\", \n \"is_confirmed\": false, \n \"is_ongoing\": false, \n \"place_id\": \"57b515dee4b0a41345fc89fe\", \n \"start_time\": \"2016-10-04T19:20:05.870-07:00\"\n }\n ]\n }\n ], \n \"places_count\": 2\n }\n ], \n \"error_code\": 0, \n \"result\": \"SUCCESS\", \n \"total_count\": 1\n}", "language": "json" } ] } [/block]