Python API reference

This page describes the methods and properties available in the PiCloud and Pi classes and are intended as a useful reference to the functionality provided.

The way to use the module is to import the PiCloud class, which will use environment variables to authenticate with the API. This will allow you to provision new Pi servers with the create_pi() method or access existing servers from the pis property.

Once you have a connected PiCloud instance and access to newly or previously created Pi instances, the following API documentation should prove useful to show what you can do with the API via the hostedpi module.

For example usage, see Python API usage.

Contents