algolia places javascript

Solutions on MaxInterview for algolia places javascript by the best coders in the world

showing results for - "algolia places javascript"
Elizabeth
02 Sep 2019
11
22
33
44
55
66
77
88
99
1010
1111
1212
1313
1414
1515
1616
1717
18// var algoliasearch = require('algoliasearch');
19var places = algoliasearch.initPlaces('YOUR_PLACES_APP_ID', 'YOUR_PLACES_API_KEY');
20places
21  .search(/*{REST API Params}*/, function(err, res) {
22    if (err) {
23      throw err;
24    }
25    console.log(res);
26  });
27
28places
29  .getObject(/*{REST API Params}*/, function(err, res) {
30    if (err) {
31      throw err;
32    }
33    console.log(res);
34  });
35