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")
Fetches the representation of an existing Project.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://dns.googleapis.com/dns/v2/projects/{project}/locations/{location}
Enumerates all Policies associated with a project.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://dns.googleapis.com/dns/v2/projects/{project}/locations/{location}/policies
Enumerates ManagedZones that have been created but not yet deleted.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://dns.googleapis.com/dns/v2/projects/{project}/locations/{location}/managedZones
SDK on GitHub 📄 API Docs
SDK
python-storage
Python
API
googleapis.com
googleapis.com:dns
At a glance
Language Python
Endpoints40
Base URLhttps://dns.googleapis.com
✓ Official