Cloud Storage API
Base path: /api/v1/storage/. Python: client.storage.
Reads the cloud drives already connected to your indox account; the SDK has no method that
connects one. To send a conversion’s output to a connected drive, set destination on the
submit (request fields).
| Provider | Python name | Status | Contents |
|---|---|---|---|
| Box | box | GET /box/status/ | GET /box/contents/ |
| Dropbox | dropbox | GET /dropbox/status/ | GET /dropbox/contents/ |
| Google Drive | google | GET /google/status/ | GET /google/drive/contents/ |
| OneDrive | onedrive | GET /onedrive/status/ | GET /onedrive/contents/ |
client.storage.status(provider) reports whether the drive is connected, and
client.storage.contents(provider, **params) lists its files and folders. Any other provider
name raises ValueError before a request is sent.
from indox_client import Indox
with Indox() as client:
print(client.storage.status("dropbox"))
print(client.storage.contents("dropbox"))