Python bindings to the HDCloud API

Usage

First create an instance with your creds:

>>> from hdcloud import HDCloud
>>> hdcloud = HDCloud(USERNAME, PASSWORD)

You’ll need an HD Cloud account to use this library. You can either use your account’s username/password, or you can use a developer token from your user profile page and use those credentials instead.

Then call methods on the HDCloud object:

class hdcloud.HDCloud
jobs
The JobManager - start, stop, and query jobs.
profiles
The ProfileManager - query encoding profiles.
stores
The StoreManager - query file storage locations.

For example:

>>> hdcloud.jobs.all()
[<Job: 12345 - completed>]

>>> hdcloud.stores.get(id=2)
<Store: my store>

For details, see:

See also

HD Cloud’s API documentation.

Contributing

Development takes place on GitHub; please file bugs/pull requests there. Run tests with python setup.py test.

Development on this project was funded by Discovery - thanks!

Table Of Contents

Next topic

Jobs

This Page