places

by algolia

algolia / places

:globe_with_meridians: Turn any <input> into an address autocomplete

5.2K Stars 246 Forks Last release: Not found MIT License 1.2K Commits 103 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

header

Version Build Status License Downloads jsDelivr Hits

Algolia Places provides a fast, distributed and easy way to use an address search autocomplete JavaScript library on your website.

See the website for more information.

Read the blog post introducing Algolia Places.

Fill the Google form to report any irrelevant results.

Demo

Watch more examples on the website.

demo

Getting started

To use Algolia Places, all you need is an

 and some JavaScript code that will load
and use the places.js library.

CDN

Our JavaScript library is available on the jsDelivr CDN and also on cdnjs.


Version is the latest version.

Here's a small example using it:

Using npm

Algolia Places is also available on npm.

Install the module:

npm install places.js --save

Put an

 in your html page:

Initialize the places.js library:

var places = require('places.js');
var placesAutocomplete = places({
  appId: ,
  apiKey: ,
  container: document.querySelector('#address-input')
});

Full documentation is available on the Algolia Places website.

Contributing

Wanna contribute? Awesome, please read the contributing guide.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.