Tobiko Cloud API Client
raw JSON → 202616.4.0 verified Sat May 09 auth: no python
Python client for the Tobiko Cloud API, used to manage and interact with Tobiko Cloud resources. Current version 202616.4.0, requires Python 3.9 to 3.12, released weekly.
pip install tobiko-cloud-api-client Common errors
error ImportError: No module named 'tobiko_cloud_api' ↓
cause Package not installed or installed with a different name.
fix
Run
pip install tobiko-cloud-api-client (note hyphens vs underscores). error tobiko_cloud_api.exceptions.AuthenticationError: ... ↓
cause Missing or invalid API key.
fix
Set TOBIKO_API_KEY environment variable or pass api_key parameter.
Warnings
breaking Major version updates may include breaking changes. Always pin your dependencies. ↓
fix Use `tobiko-cloud-api-client==202616.4.0` in requirements.
gotcha The client expects environment variables for authentication (e.g., TOBIKO_API_KEY). Missing credentials will raise an error at runtime. ↓
fix Set TOBIKO_API_KEY environment variable or pass api_key parameter to Client().
deprecated Old-style import `from tobiko_cloud_api import client` (lowercase) is deprecated in favor of `from tobiko_cloud_api import Client`. ↓
fix Use `from tobiko_cloud_api import Client`.
Imports
- Client
from tobiko_cloud_api import Client - models wrong
import tobiko_cloud_api.modelscorrectfrom tobiko_cloud_api import models
Quickstart
from tobiko_cloud_api import Client
client = Client()
# Use client methods, e.g.,
# response = client.get_resource("...")
print(client)