/wxc_sdk

SDK for Webex APIs with special focus on Webex Calling specific endpoints

Primary LanguagePythonMIT LicenseMIT

wxc_sdk

A simple SDK to work with Webex APIs, special focus on Webex Calling specific API endpoints.


This is how easy it is to use the SDK. The example code list all calling enabled users within the org.

from wxc_sdk import WebexSimpleApi

api = WebexSimpleApi()

# if a user is enabled for calling, then the location_id attribute is set
calling_users = [user for user in api.people.list(calling_data=True)
                 if user.location_id]
print(f'{len(calling_users)} users:')
print('\n'.join(user.display_name for user in calling_users))

Installation

Installing and upgrading wxc_sdk is easy:

Install via PIP

$ pip install wxc-sdk

Upgrade to the latest version

$ pip install wxc-sdk --upgrade

Documentation

Documentation is available at: http://wxc_sdk.readthedocs.io

Examples

Sample scripts are available in the examples folder.