Skip to content

Algolia Analytics Connector is a Python-based local API and analysis toolkit that exposes real-time Algolia Analytics metrics via HTTP and provides Polars-powered insights for deeper search behavior exploration.

Notifications You must be signed in to change notification settings

danielsflavia/algolia-connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algolia Analytics Connector

The Algolia Analytics Connector is a local tool that exposes real-time insights from the Algolia Analytics API.
It offers both a JSON API and a simple HTML index page, along with a Polars-based analytics layer for deeper exploration.

Features

  • Live Algolia search and click metrics via HTTP endpoints
  • Automatic schema inference for each metric
  • Polars integration for analysis, aggregation, and visualization
  • Simple local server, no web frontend or dashboard required

Quickstart

  1. Clone the repo:
    git clone https://github.com/yourname/algolia-connector.git
    cd algolia-connector
  2. Install dependencies:
    pip install -r requirements.txt
  3. Configure your environment
    cp .env.example .env
  4. Start the server
    python algolia_connector.py

Documentation

Thema Link
Overview for Analysis docs/overview.md
Metric Endpoints docs/metric-endpoints.md
In-depth Metrics docs/metrics/
Polars Analysis Example polars_test.py

Query Parameters (Optional Filters)

All endpoints support optional query parameters:

  • startDate: Start of range (e.g. 2024-07-01)
  • endDate: End of range (e.g. 2024-07-08)
  • limit: Max number of items (default: 10)
  • offset: Pagination offset
  • tags: Filter using metadata (e.g. tags=device:mobile phone)

See full query guide → docs/query-parameters.md

About

Algolia Analytics Connector is a Python-based local API and analysis toolkit that exposes real-time Algolia Analytics metrics via HTTP and provides Polars-powered insights for deeper search behavior exploration.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages