Go to file
2022-01-06 16:13:05 +01:00
docs Add api documentation 2022-01-06 16:12:13 +01:00
mitel_ommclient2 Introduce high level OMMClient2 interface 2022-01-06 16:11:21 +01:00
.gitignore Add gitignore 2022-01-06 16:12:27 +01:00
README.md Give some quickstart documentation 2022-01-06 16:13:05 +01:00

Mitel OMMClient2

Another attempt for a client library to the Mitel OM Application XML Interface.

Quicksart

Just some examples to give you an idea what this does.

import mitel_ommclient2

# Connect to your OMM
c = mitel_ommclient2.OMMClient2("omm.local", "admin", "admin")

# Use built in methods for common actions
c.ping()

# Create custom messages
r = c.session.request(mitel_ommclient2.messages.Ping(timeStamp=2342))

# Craft your own request, if it is not implemented yet
r = c.session.request(mitel_ommclient2.messages.DictRequest("Ping", {"timeStamp": 2342}))

Consult class documentation for more in depth examples and options.