Skip to main content

A ConnectWise API tool for the rest of us.

Project description

ConnectPyse

ConnectWise (Manage) REST API client written in Python 3.x The original project was created by Joshua M. Smith. This forked version was started by Mark Ciecior.

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
>>> m = members_api.MembersAPI()
>>> a_member = m.get_member_by_id(123)
>>> print(a_member.officePhone)

For example to find the name of all activities related to a particular opportunity you would:

>>> from connectpyse.sales import activity_api
>>> myAct = activity_api.ActivityAPI()
>>> myAct.conditions = 'opportunity/id=1250'
>>> allActivities = myAct.get_activities()
>>> for oneAct in allActivities:
>>>   print(oneAct.name)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

connectpyse-0.4.5.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

connectpyse-0.4.5-py3-none-any.whl (88.9 kB view details)

Uploaded Python 3

File details

Details for the file connectpyse-0.4.5.tar.gz.

File metadata

  • Download URL: connectpyse-0.4.5.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for connectpyse-0.4.5.tar.gz
Algorithm Hash digest
SHA256 18ee7986fe477c42c88def4dfabfeda8d784f9b0693ae83cdb8c4469ad437831
MD5 8beee1aa6e40e4bb62e906eedab8f733
BLAKE2b-256 af9ba210922e69c05e3d1da8a9b41d99139fe2719611738901941699e08db226

See more details on using hashes here.

Provenance

File details

Details for the file connectpyse-0.4.5-py3-none-any.whl.

File metadata

  • Download URL: connectpyse-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 88.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for connectpyse-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 adc37028b0d7a991514b4c2ffa55f16ed7c50a2ffeef6171496651d77fb4db95
MD5 b33392ff5708d80312b4f135c44be444
BLAKE2b-256 219b299305c3815dfeb7c767d5018e60a1ab65f78f84f1e10cdf210f793822bd

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page