{"repo":"DataDog/datadog-api-client-python","free":true,"listed":false,"github":"https://github.com/DataDog/datadog-api-client-python","clone":"git clone https://github.com/DataDog/datadog-api-client-python.git","description":"Python client for the Datadog API","language":"Python","stars":166,"topics":["datadog","datadog-api","python","openapi"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"datadog-api-client-python This repository contains a Python API client for the Datadog API. Requirements Building and using the API client library requires Python 3.8+. Installation To install the API client library, simply execute: Getting Started Please follow the installation instruction and execute the following Python code: Authentication By default the library will use the DD API KEY and DD APP KEY environment variables to authenticate against the Datadog API. To provide your own set of credentials, you need to set some keys on the configuration: Unstable Endpoints This client includes access to Datadog API endpoints while they are in an unstable state and may undergo breaking changes. An extra configuration step is required to enable these endpoints: where is the name of the method used to interact with that endpoint. For example: list log indexes , or get logs index Changing Server When talking to a different server, like the eu instance, change the server variables on your configuration object: Disable compressed payloads If you want to disable GZIP compressed responses, set the compress flag on your configuration object: Enable requests logging If you want to enable requests logging, set the debug flag on your configuration object: Enable retry If you want to enable retry when getting status code 429 rate-limited, set enable retry to True The default max retry is 3 , you can change it with max retries Custom retry policy You can provide a custom retry policy by pass","default_branch":null,"files":null,"tree":[],"storefront":"/r/DataDog","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DataDog/datadog-api-client-python/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}