Using litellm with azure.com

Python integration

Install
pip install litellm
Quick start
import litellm

# Use an OAuth2 access token
client = litellm.Client(access_token="YOUR_ACCESS_TOKEN")
Gets the list of jobs from the specified HDInsight cluster.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /templeton/v1/jobs
Gets job details from the specified HDInsight cluster.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /templeton/v1/jobs/{jobId}
Gets numrecords Of Jobs after jobid from the specified HDInsight cluster.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /templeton/v1/jobs?op=LISTAFTERID
SDK on GitHub 📄 API Docs
SDK
litellm
Python
API
azure.com
azure.com:hdinsight-job
At a glance
Language Python
Endpoints10