Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elastic-appsearch-0.1.0.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

elastic_appsearch-0.1.0-py2.py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page