Update API documentation
This commit is contained in:
parent
8d2e94f5f3
commit
e6f93150a0
4 changed files with 21 additions and 13 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Mitel OMMClient2
|
||||
|
||||
Another attempt for a client library to the Mitel OM Application XML Interface.
|
||||
Another attempt for a modern client library to the Mitel OM Application XML Interface.
|
||||
|
||||
## Quicksart
|
||||
|
||||
|
|
@ -16,10 +16,10 @@ c = mitel_ommclient2.OMMClient2("omm.local", "admin", "admin")
|
|||
c.ping()
|
||||
|
||||
# Create custom messages
|
||||
r = c.session.request(mitel_ommclient2.messages.Ping(timeStamp=2342))
|
||||
r = c.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}))
|
||||
r = c.request(mitel_ommclient2.messages.DictRequest("Ping", {"timeStamp": 2342}))
|
||||
```
|
||||
|
||||
Consult class documentation for more in depth examples and options.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue