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

Python integration

Install
pip install azure-sdk-for-python
Quick start
import azure-sdk-for-python

# Set your API key
client = azure_sdk_for_python.Client(api_key="YOUR_API_KEY")
Detect objects in an image url and saves the result.
curl \
  -H "Prediction-Key: $API_KEY" \
  https://southcentralus.api.cognitive.microsoft.com/customvision/v3.0/prediction/{projectId}/detect/iterations/{publishedName}/url
Classify an image url and saves the result.
curl \
  -H "Prediction-Key: $API_KEY" \
  https://southcentralus.api.cognitive.microsoft.com/customvision/v3.0/prediction/{projectId}/classify/iterations/{publishedName}/url
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-python
Python
API
microsoft.com
microsoft.com:cognitiveservices-Prediction
At a glance
Language Python
Endpoints8
Base URLhttps://southcentralus.api.cognitive.microsoft.com/customvision/v3.0/prediction