Using python-storage with googleapis.com

Python integration

✓ Official SDK

Install

pip install python-storage

Quick start

import python-storage

# Use an OAuth2 access token
client = python_storage.Client(access_token="YOUR_ACCESS_TOKEN")
Gets details about a device.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://cloudiot.googleapis.com/v1/{name}
Lists the last few versions of the device state in descending order (i.e.: ne…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://cloudiot.googleapis.com/v1/{name}/states
List devices in a device registry.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://cloudiot.googleapis.com/v1/{parent}/devices
SDK on GitHub 📄 API Docs
SDK
python-storage
Python
API
googleapis.com
googleapis.com:cloudiot

At a glance

Language Python
Endpoints16
Base URLhttps://cloudiot.googleapis.com
✓ Official