adderlib 1.0.3

Creator: railscoderz

Last updated:

0 purchases

adderlib 1.0.3 Image
adderlib 1.0.3 Images

Languages

Categories

Add to Cart

Description:

adderlib 1.0.3

adderlib
adderlib is an unofficial python implementation of the Adder API, for use with Adderlink KVM systems.
With adderlib, you can:

Log in or out as an existing KVM user
Query lists of transmitters, receivers, and channels available to the user
Access many properties of the KVM devices
Connect receivers to channels
Manage presets

...and so much more! Well, a little bit more.
Getting Started
The best way to get started is to check out the examples, and then the official documentation on ReadTheDocs. But in general, it's four easy steps:
from adderlib import adder

# Step 1: Create a handle to the API by passing the IP address or hostname of the AIM (the KVM server)
api = adder.AdderAPI("192.168.1.10")

# Step 2: Log in using an exising KVM account
api.login("username","password")

# Step 3: Do some stuff
for tx in api.getTransmitters():
do_some_stuff(tx)

# Step 4: Don't forget to log out!
api.logout()

Customizable
Boy oh boy is this customizable! An UrlHandler abstract class is provided. Subclass this and override the api_call() method to communicate with the server however you wish! I sure spent a lot of time on the default RequestsHandler class, which uses the requests library but that's ok I'm sure you have your reasons.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.