https://github.com/tjfontaine/linode-python
Linode API Python Bindings
https://github.com/tjfontaine/linode-python
Last synced: 3 months ago
JSON representation
Linode API Python Bindings
- Host: GitHub
- URL: https://github.com/tjfontaine/linode-python
- Owner: tjfontaine
- License: other
- Created: 2010-08-05T16:38:26.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2021-09-03T22:06:30.000Z (almost 4 years ago)
- Last Synced: 2025-03-29T05:11:14.553Z (3 months ago)
- Language: Python
- Homepage: http://www.linode.com/api
- Size: 172 KB
- Stars: 162
- Watchers: 15
- Forks: 47
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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 djangoFor 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.