Skip to content

Commit

Permalink
Add links to samples and API to Python client (#6508)
Browse files Browse the repository at this point in the history
Signed-off-by: Fanit Kolchina <[email protected]>
  • Loading branch information
kolchfa-aws authored Feb 23, 2024
1 parent 76c2ed0 commit f9a78d6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions _clients/python-low-level.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ redirect_from:

The OpenSearch low-level Python client (`opensearch-py`) provides wrapper methods for the OpenSearch REST API so that you can interact with your cluster more naturally in Python. Rather than sending raw HTTP requests to a given URL, you can create an OpenSearch client for your cluster and call the client's built-in functions. For the client's complete API documentation and additional examples, see the [`opensearch-py` API documentation](https://opensearch-project.github.io/opensearch-py/).

This getting started guide illustrates how to connect to OpenSearch, index documents, and run queries. For the client source code, see the [opensearch-py repo](https://github.com/opensearch-project/opensearch-py).
This getting started guide illustrates how to connect to OpenSearch, index documents, and run queries. For the client source code, see the [`opensearch-py` repo](https://github.com/opensearch-project/opensearch-py).

## Setup

Expand Down Expand Up @@ -348,4 +348,9 @@ response = client.indices.delete(
print('\nDeleting index:')
print(response)
```
{% include copy.html %}
{% include copy.html %}

## Next steps

- For Python client API, see the [`opensearch-py` API documentation](https://opensearch-project.github.io/opensearch-py/).
- For Python code samples, see [Samples](https://github.com/opensearch-project/opensearch-py/tree/main/samples).

0 comments on commit f9a78d6

Please sign in to comment.