Skip to content
pubscout

algolia

1.1.2, released 4 years ago by knoxpo.com

Pure Dart SDK wrapped around the Algolia REST API for search implementation

$ flutter pub add algolia
Source repository

What it does

Provides a client wrapper for the Algolia REST API, allowing Flutter and Dart applications to query indices, manage objects, configure index settings, and push insights events.

AI-written summary of version 1.1.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to integrate Algolia search functionality into your Flutter or Dart app.
  • You want to manage records, settings, and insights directly via an unofficial Dart SDK.

Skip it when

  • You require an official, first-party Algolia SDK with guaranteed support from Algolia.
  • You are not using Algolia as your search backend.

Strengths

  • Comprehensive coverage of Algolia search parameters and settings.
  • Supports web compatibility via universal_io.
  • Includes retry strategies for high availability on read and write actions.

Weaknesses

  • It is an unofficial SDK.
  • License is unknown.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
4

Initialize static Algolia once in your project with your application ID and API key.

Algolia algolia = Algolia.init(
  applicationId: 'YOUR_APPLICATION_ID',
  apiKey: 'YOUR_API_KEY',
);
AlgoliaQuery query = algolia.instance.index('contacts').query('john');
AlgoliaQuerySnapshot snap = await query.getObjects();

Alternatives

Packages that do the same job and could replace algolia.

Works with

Packages commonly used together with algolia: ones it builds on, ones built on it, and its own family.