Metadata-Version: 2.1
Name: CollabConnector
Version: 0.1.1666797114
Summary: An attempt at a simplified API collection for Cisco Collab products
Home-page: https://github.com/mycollablab/CollabConnector
Author: Jon Snipes
Author-email: jsnipes@mycollablab.org
Project-URL: Bug Tracker, https://github.com/mycollablab/CollabConnector/issues
Project-URL: repository, https://github.com/mycollablab/CollabConnector
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests (>=2.28.1)
Requires-Dist: xmltodict (>=0.13.0)
Requires-Dist: zeep (>=4.1.0)

# CollabConnector
 Cisco Collab Connector Library

This library is made to try and be a single source for all Cisco Collab APIs (which can be lots). The goal is to unify requests and responces across different REST and SOAP APIs availble to make connecting to and scripting Collab tasks easier.  Hopefully.  Maybe.

Install:
```
pip3 install CollabConnector
```

Usage:
```commandline
from CollabConnector import CUCM
from CollabConnector import CUCX
from CollabConnector import UCCX
from CollabConnector.Webex import Webex

cucm = CUCM.Connect("10.10.10.10", "admin", "P@ssw0rd")
cucm.query("select count(*) from enduser")
[{'count': '5'}]
cucm.get.Phone(name="SEPAAAABBBBCCCC")
[{'name': 'SEP3C08F67A9618', 'description': 'Auto 1000', 'product': 'Cisco 7841', 'mod... }]

unity = CUCX.Connect("10.10.10.20", "admin", "P@ssw0rd")
unity.get("users")
[{'URI': '/vmrest/users/a151...123', 'ObjectId': 'a151...123', 'Alias': 'undeliverablemess... }]

ccx = UCCX.Connect("10.10.10.40", "admin", "P@ssw0rd")
ccx.get("application")
[{'@type': 'applicationXMLList', 'application': []}]

wbx = Webex.Connect(token)
wbx.get("/v1/people/me")
{'id': 'Y2l...mYTg', 'emails': ['jsn....com'], 'phoneNumbers': [{'type': 'work', 'value': '2001'}, ...}]
```
