Volver al ranking

algolia/places

JavaScriptcommunity.algolia.com/places/

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

algoliaplacesgeolocationgeoautocompletegeocoder
Crecimiento de estrellas
Estrellas
5.3k
Forks
223
Crecimiento semanal
Issues
2
2k4k
mar 2016ago 2019feb 2023jul 2026
Artefactosnpmnpm install places
README

header

Version Build Status License Downloads jsDelivr Hits

Deprecation of service

Places is going away on May 31st 2022. Read our blog post announcement. Places is going away on May 31st 2022. Read our blog post announcement. Places is going away on May 31st 2022. Read our blog post announcement. Places is going away on May 31st 2022. Read our blog post announcement. Places is going away on May 31st 2022. Read our blog post announcement. Places is going away on May 31st 2022. Read our blog post announcement.

Introduction

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.19.0"></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({
    appId: "<YOUR_PLACES_APP_ID>",
    apiKey: "<YOUR_PLACES_API_KEY>",
    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({
  appId: "<YOUR_PLACES_APP_ID>",
  apiKey: "<YOUR_PLACES_API_KEY>",
  container: document.querySelector('#address-input')
});

Full documentation is available on the Algolia Places website.

Contributing

Wanna contribute? Awesome, please read the contributing guide.

Repositorios relacionados
typesense/typesense

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

C++GNU General Public License v3.0search-enginesearch
typesense.org
26.3k953
mmistakes/minimal-mistakes

:triangular_ruler: Jekyll theme for building a personal site, blog, project documentation, or portfolio.

HTMLMIT Licensejekylljekyll-theme
mmistakes.github.io/minimal-mistakes/
13.5k27.3k
algolia/autocomplete

🔮 Fast and full-featured autocomplete library

TypeScriptnpmMIT Licenseautocompletedropdown
alg.li/autocomplete
5.3k340
searchkit/searchkit

React + Vue Search UI for Elasticsearch & Opensearch. Compatible with Algolia's Instantsearch and Autocomplete components.

TypeScriptnpmApache License 2.0elasticsearchreact
searchkit.co/docs
4.9k442
algolia/docsearch

:blue_book: The easiest way to add search to your documentation.

TypeScriptnpmMIT Licensealgoliasearch
docsearch.algolia.com
4.4k438
algolia/instantsearch

⚡️ Libraries for building performant and instant search and and discovery experiences with Algolia. Compatible with JavaScript, TypeScript, React and Vue.

TypeScriptnpmMIT Licenseinstantsearchvanilla
algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/
4.1k553
algolia/react-instantsearch

⚡️ Lightning-fast search for React and React Native applications, by Algolia.

TypeScriptnpmMIT Licensesearchalgolia
algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react/
2k373
aquadzn/learn-x-by-doing-y

🛠️ Learn a technology X by doing a project - Search engine of project-based learning

PythonPyPIMIT Licensetutorialproject
aquadzn.github.io/learn-x-by-doing-y/
1.9k157
laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

PHPPackagistMIT Licensealgolialaravel
laravel.com/docs/scout
1.7k361
algolia/algoliasearch-client-javascript

⚡️ A fully-featured and blazing-fast JavaScript API client to interact with Algolia.

TypeScriptnpmMIT Licensealgoliaapi-client
algolia.com/doc/libraries/sdk/install
1.4k226
maticzav/emma-cli

📦 Terminal assistant to find and install node packages.

TypeScriptnpmterminalyarn
1.2k42
hugo-fixit/FixIt

🔧 A clean, elegant but advanced blog theme for Hugo 一个简洁、优雅且高效的 Hugo 主题

HTMLMIT Licensehugo-themehugo
fixit.lruihao.cn
1.1k134