Datadog API: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 10: Line 10:
</syntaxhighlight>
</syntaxhighlight>
=Python=
=Python=
* https://github.com/DataDog/datadogpy
* https://docs.datadoghq.com/api/latest/?code-lang=python
* https://datadogpy.readthedocs.io/en/latest/
* https://docs.datadoghq.com/api/latest/using-the-api/


==Playground==
==Playground==
{{External|https://github.com/ovidiuf/playground/tree/master/datadog/python-api}}
{{External|https://github.com/ovidiuf/playground/tree/master/datadog/python-api}}

Revision as of 01:22, 18 February 2022

External

Internal

HTTP

curl -s -X GET "https://api.datadoghq.com/api/v1/org" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DATADOG_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DATADOG_APP_KEY}"

Python

Playground

https://github.com/ovidiuf/playground/tree/master/datadog/python-api