Git Product home page Git Product logo

linode-python's Introduction

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.

linode-python's People

Contributors

cro avatar danslimmon avatar dustinlacewell avatar dustinthughes avatar fenglyu avatar intheclouddan avatar james-tr avatar jshwright avatar rtucker avatar theckman avatar tjfontaine avatar tylerturk avatar zwerfvogel avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.