# Querying and Parsing Elasticsearch API in Python

**URL:** <https://discuss.elastic.co/t/querying-and-parsing-elasticsearch-api-in-python/170913>\
**Category:** Elasticsearch\
**Created:** [March 5, 2019, 1:27pm UTC](https://discuss.elastic.co/t/querying-and-parsing-elasticsearch-api-in-python/170913 "2019-03-05T13:27:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dawiro](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Post date:** [March 5, 2019, 1:27pm UTC](https://discuss.elastic.co/t/querying-and-parsing-elasticsearch-api-in-python/170913/1 "2019-03-05T13:27:33Z")

</div>

Hi,  
Can anyone show me an example of querying the elasticsearch api, such as cat and stats, in python please? All of the examples out there focus on searching indexes...

Regards,  
D

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 2, 2019, 1:27pm UTC](https://discuss.elastic.co/t/querying-and-parsing-elasticsearch-api-in-python/170913/2 "2019-04-02T13:27:41Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
