Skip to content
forked from algolia/places

🌐 Turn any <input> into an address autocomplete

License

Notifications You must be signed in to change notification settings

agustinv/places

This branch is 702 commits behind algolia/places:master.

Folders and files

NameName
Last commit message
Last commit date
Nov 14, 2016
Mar 27, 2017
Sep 18, 2017
May 26, 2017
Jul 30, 2017
Jul 17, 2016
Jun 20, 2016
Mar 29, 2016
Mar 27, 2017
Jul 1, 2016
Mar 27, 2017
Jun 26, 2017
Jun 26, 2017
Mar 31, 2017
Apr 6, 2016
Jun 26, 2017
Mar 27, 2017
Jun 15, 2016
Jul 1, 2016
Jul 12, 2016
Jul 12, 2016
Jun 26, 2017
Mar 27, 2017
Mar 27, 2017
Mar 27, 2017
Jun 26, 2017

Repository files navigation

header

Version Build Status License Downloads

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 <input> and some JavaScript code that will load and use the places.js library.

CDN <script>

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

<script src="https://cdn.jsdelivr.net/npm/places.js@1.4.15"></script>

Version is the latest version.

Here's a small example using it:

<input type="search" id="address-input" placeholder="Where are we going?" />

<script>
  var placesAutocomplete = places({
    container: document.querySelector('#address-input')
  });
</script>

Using npm

Algolia Places is also available on npm.

Install the module:

npm install places.js --save

Put an <input> in your html page:

<input type="search" id="address-input" placeholder="Where are we going?" />

Initialize the places.js library:

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

Full documentation is available on the Algolia Places website.

Contributing

Wanna contribute? Awesome, please read the contributing guide.

About

🌐 Turn any <input> into an address autocomplete

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 83.8%
  • Shell 13.0%
  • CSS 3.2%