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

JavaScript integration

✓ Official SDK

Install

npm install azure-sdk-for-node
Lists all of the available IoT Hub REST API operations.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /providers/Microsoft.Devices/operations
Get the number of iot hubs in the subscription
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/providers/Microsoft.Devices/usages
Get all the IoT hubs in a subscription
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/providers/Microsoft.Devices/IotHubs
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-node
JavaScript
API
azure.com
azure.com:iothub

At a glance

Language JavaScript
Endpoints32
✓ Official