Elastic App Search API Client
Project description
elastic-appsearch
Elastic App Search API Client
Installation
pip install elastic-appsearch
Usage
from elastic_appsearch import Client
endpoint = 'app-search-api-endpoint'
key = 'private-key'
c = Client(endpoint, key)
Search
c.search('engine-name', 'sunny')
Create a synonym
c.create_synonym('engine-name', ['hi', 'hello', 'hiya'])
List all synonyms
c.get_synonyms('engine-name')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for elastic_appsearch-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a612f6cb53a88ef0d772b87bec0c73c045089674a42385d49911853e4ea49bc1 |
|
MD5 | f903e5158d02bcbb6de6f9f4189b8a8a |
|
BLAKE2b-256 | ff9bcf7b286001ba3a9fa762ac49c128a85dba7863f26466217ba81f6bc99f1e |