Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Linode API Python Bindings
Python
Branch: master
Pull request Compare This branch is 2 commits ahead, 55 commits behind tjfontaine:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README
VEpycurl.py
__init__.py
api.py
deploy_abunch.py
fields.py
get_or_add_private_ip.py
methodcheck.py
oop.py
shell.py
tests.py

README

Linode Python Bindings
----------------------

The bindings consist of three pieces:
  - api.py: Core library that manages authentication and api calls
  - shell.py: A command line interface to api.py that allows you to invoke
      a specific api command quickly
  - oop.py: An object oriented interface to api.py inspired by django

For definitive documentation on how the api works please visit:
http://www.linode.com/api/index.cfm

API Keys
--------

When creating an api object you may specify the key manually, or use the
Api.user_getapikey which will return your apikey as well as set the internal
key that will be used for subsequent api calls.

Both the shell.py and oop.py have mechanisms to pull the api key from the
environment variable LINODE_API_KEY as well.

Batching
--------

Batching should be used with care, once enabled all api calls are cached until
Api.batchFlush() is called, however you must remember the order in which calls
were made as that's the order of the list returned to you
Something went wrong with that request. Please try again.