Using azure-sdk-for-python with azure.com

Python integration

✓ Official SDK
Install
pip install azure-sdk-for-python
Quick start
import azure-sdk-for-python

client = azure_sdk_for_python.Client("YOUR_API_KEY")
Enables you to query for the resource/meter metadata and related prices used …
curl \
  /subscriptions/{subscriptionId}/providers/Microsoft.Commerce/RateCard
Query aggregated Azure subscription consumption data for a date range.
curl \
  /subscriptions/{subscriptionId}/providers/Microsoft.Commerce/UsageAggregates
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-python
Python
API
azure.com
azure.com:commerce
At a glance
Language Python
Endpoints2
✓ Official