ConnectWise (Manage) REST API client written in Python 3.x
Following the layout style of the official SDKs from CW team. Classes and their API counter part classes are under their appropriate sections. Import the API class(es) you want to leverage and the model classes are imported with them.
- Copy your_api.json to new my_api.json file and update with your API key details
- Import the sections you'll be using
- Create an object from API Class
- Leverage member methods to access features
>>> from connectpyse.system import members_api
>>> members_api = MembersAPI()
>>> a_member = members_api.get_member_by_id(123)
>>> print(a_member.officePhone)
The uJSON dependency needs cl.exe to be added to your path. This is a part of Visual Studio For VS 2015, add the following folder to PATH C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin If you receive the error "fatal error LNK1158: cannot run 'rc.exe'", add this to PATH: C:\Program Files (x86)\Windows Kits\8.0\bin\x86