All Projects → algolia → Algoliasearch Client Javascript

algolia / Algoliasearch Client Javascript

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

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Algoliasearch Client Javascript

Algoliasearch Client Android
Algolia Search API Client for Android
Stars: ✭ 92 (-89.86%)
Mutual labels:  api-client, algolia, search
Algoliasearch Client Php
⚡️ A fully-featured and blazing-fast PHP API client to interact with Algolia.
Stars: ✭ 565 (-37.71%)
Mutual labels:  api-client, algolia, search
Algoliasearch Client Go
⚡️ A fully-featured and blazing-fast Go API client to interact with Algolia.
Stars: ✭ 147 (-83.79%)
Mutual labels:  api-client, algolia, search
App Search Php
Elastic App Search Official PHP Client
Stars: ✭ 48 (-94.71%)
Mutual labels:  api-client, search
Instantsearch.js
⚡️ A JavaScript library for building performant and instant search experiences with Algolia.
Stars: ✭ 2,799 (+208.6%)
Mutual labels:  algolia, search
App Search Node
Elastic App Search Official Node.js Client
Stars: ✭ 29 (-96.8%)
Mutual labels:  api-client, search
Algoliasearch Client Swift
⚡️ A fully-featured and blazing-fast Swift API client to interact with Algolia.
Stars: ✭ 166 (-81.7%)
Mutual labels:  algolia, search
svelte-algolia
Svelte plugin for keeping Algolia indices in sync with custom data fetching functions.
Stars: ✭ 17 (-98.13%)
Mutual labels:  search, algolia
Twitter Search
Instantly search across your entire Twitter history with a beautiful UI powered by Algolia.
Stars: ✭ 305 (-66.37%)
Mutual labels:  algolia, search
Algoliasearch Rails
AlgoliaSearch integration to your favorite ORM
Stars: ✭ 352 (-61.19%)
Mutual labels:  algolia, search
Docsearch Configs
DocSearch - Configurations
Stars: ✭ 339 (-62.62%)
Mutual labels:  algolia, search
Awesome Algolia
🔍👋 START HERE! A curated list of Algolia libraries, resources and projects.
Stars: ✭ 475 (-47.63%)
Mutual labels:  algolia, search
Angular Instantsearch
⚡️Lightning-fast search for Angular apps, by Algolia
Stars: ✭ 219 (-75.85%)
Mutual labels:  algolia, search
Algoliasearch Netlify
Official Algolia Plugin for Netlify. Index your website to Algolia when deploying your project to Netlify with the Algolia Crawler
Stars: ✭ 208 (-77.07%)
Mutual labels:  algolia, search
Vue Instantsearch
👀 Algolia components for building search UIs with Vue.js
Stars: ✭ 707 (-22.05%)
Mutual labels:  algolia, search
Angular Search Experience
Algolia + Angular = 🔥🔥🔥
Stars: ✭ 167 (-81.59%)
Mutual labels:  algolia, search
Gatsby Plugin Algolia
A plugin to push to Algolia based on graphQl queries
Stars: ✭ 154 (-83.02%)
Mutual labels:  algolia, search
Algoliasearch Magento
Algolia Search integration for Magento 1 - compatible with versions from 1.6.x to 1.9.x
Stars: ✭ 163 (-82.03%)
Mutual labels:  algolia, search
Scout Extended
Scout Extended: The Full Power of Algolia in Laravel
Stars: ✭ 330 (-63.62%)
Mutual labels:  algolia, search
Instantsearch Ios
⚡️ A library of widgets and helpers to build instant-search applications on iOS.
Stars: ✭ 498 (-45.09%)
Mutual labels:  algolia, search

Algolia for JavaScript

The perfect starting point to integrate Algolia within your JavaScript project

NPM version NPM downloads jsDelivr Downloads License

DocumentationInstantSearchCommunity ForumStack OverflowReport a bugFAQSupport

Migration note from v3.x to v4.x

In February 2020, we released v4 of our JavaScript client. If you are using version 3.x of the client, read the migration guide to version 4.x. Version 3.x will no longer be under active development.

✨ Features

  • Thin & minimal low-level HTTP client to interact with Algolia's API
  • Works both on the browser and node.js
  • UMD compatible, you can use it with any module loader
  • Built with TypeScript

💡 Getting Started

First, install Algolia JavaScript API Client via the npm package manager:

npm install algoliasearch

Then, create objects on your index:

const algoliasearch = require("algoliasearch");

const client = algoliasearch("YourApplicationID", "YourAdminAPIKey");
const index = client.initIndex("your_index_name");

const objects = [
  {
    objectID: 1,
    name: "Foo"
  }
];

index
  .saveObjects(objects)
  .then(({ objectIDs }) => {
    console.log(objectIDs);
  })
  .catch(err => {
    console.log(err);
  });

Finally, let's actually search using the search method:

index
  .search("Fo")
  .then(({ hits }) => {
    console.log(hits);
  })
  .catch(err => {
    console.log(err);
  });

For full documentation, visit the online documentation.

❓ Troubleshooting

Encountering an issue? Before reaching out to support, we recommend heading to our FAQ where you will find answers for the most common issues and gotchas with the client.

📄 License

Algolia JavaScript API Client is an open-sourced software licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].