Install the Python API Client
Install the Python client using pip:
$ pip install --upgrade algoliasearch
Source source on GitHub
All our API clients are open-sourced and available on Github.
We implemented an asynchronous version of the client that may suit your need if
you are using a framework such as
aiohttp in your backend. This version can
be found here.
If you are seeing an error for
Unreachable hosts when pushing data to Algolia, this is caused by
PyOpenSSL and older versions of Python. You can see more information here.
To fix, either upgrade your Python version or your urllib3.