GitXplorerGitXplorer
t

linode-python

public
163 stars
49 forks
6 issues

Commits

List of commits on branch master.
Unverified
a047859be78cf96ef1fbcae41880c0848f1fe53f

Merge pull request #33 from InTheCloudDan/patch-1

rrtucker committed 8 years ago
Unverified
2f34d292c45e7d60d9406f2556986780ca6436a7

Update api.py

IInTheCloudDan committed 8 years ago
Unverified
84f478c26d8f8b3f34bd59e70280f249370fdc4d

Merge pull request #28 from saleiv/Plan_Id_Addition

rrtucker committed 9 years ago
Unverified
6e1b7dbc9539c534d45c2e8eea3da1fc452b2d4a

Added PlanID fetched from Linode API List response.

committed 9 years ago
Unverified
a29da188dcdf0690d5234b2c00efeef98001415b

linode.create: PaymentTerm now optional

committed 10 years ago
Unverified
a467b29f711099fba2d29072d6f1699ff063134b

Add LICENSE to package manifest

rrtucker committed 10 years ago

README

The README file for this repository.

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: https://www.linode.com/api

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

License

This code is provided under an MIT-style license. Please refer to the LICENSE file in the root of the project for specifics.