A thin python wrapper around Linode's API. Built with the idea of sticking to Linode's docs and being pythonic.
pip install linode
from linode import Api api = Api('your_api_key') api.linode.create(datacenterid, planid, paymentterm) api.linode.disk.createfromdistribution(linodeid, distributionid, label, size, rootpass, rootsshkey)
I has them.
Any deviations from the Linode docs.
All variables have been lower cased. The Linode API is case insensitive so this is not a true change from their docs.
Required variables have been declared as positional arguments and optional variables as keyword arguments with a default of None
. This means all optional arguments must come after required ones.