Metadata-Version: 2.1
Name: es-app-search
Version: 1.0.1
Summary: Elastic App Search API Client
Home-page: https://github.com/sunnysid3up/es-app-search
Author: Sunny Kim
Author-email: sunny.kim@berkeley.edu
Maintainer: Sunny Kim
Maintainer-email: sunny.kim@berkeley.edu
License: MIT
Platform: any
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3
Description-Content-Type: text/markdown
Requires-Dist: requests (>=2.23.0)

# esclient

Elastic App Search API Client

### Installation
`pip install es-app-search`

### Usage

```python
from es_app_search import ESClient

endpoint = 'app-search-api-endpoint'
key = 'private-key'

c = ESClient(endpoint, key)
```

##### Search
```python
c.search('engine-name', 'sunny')
```

##### Create a synonym
```python
c.create_synonym('engine-name', ['hi', 'hello', 'hiya'])
```

##### List all synonyms
```python
c.get_synonyms('engine-name')
```


