Skip to content

ConnectWise (Manage) REST API client written in Python 3.x

License

Notifications You must be signed in to change notification settings

joshuamsmith/ConnectPyse

Repository files navigation

PLEASE NOTE: THIS PROJECT IS NO LONGER MAINTAINED - please check out one of the forks!!

ConnectPyse

ConnectWise (Manage) REST API client written in Python 3.x

ConnectWise RESTful API Client

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.

Setup

  1. Copy your_api.json to new my_api.json file and update with your API key details

Usage

  1. Import the sections you'll be using
  2. Create an object from API Class
  3. Leverage member methods to access features

For example to get a Member's office phone number you would:

>>> from connectpyse.system import members_api
>>> members_api = MembersAPI()
>>> a_member = members_api.get_member_by_id(123)
>>> print(a_member.officePhone)

Installation notes

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

About

ConnectWise (Manage) REST API client written in Python 3.x

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages