wxc_sdk package

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

class wxc_sdk.WebexSimpleApi(*, tokens: str | Tokens | None = None, concurrent_requests: int = 10, retry_429: bool = True)[source]

Bases: object

The main API object

Parameters:
  • tokens – token to be used by the API. Can be a tokens.Tokens instance, a string or None. If None then an access token is expected in the WEBEX_ACCESS_TOKEN environment variable.

  • concurrent_requests (int) – number of concurrent requests when using multi-threading

  • retry_429 (bool) – automatically retry for 429 throttling response

attachment_actions: AttachmentActionsApi

Attachment actions API attachment_actions.AttachmentActionsApi

cdr: DetailedCDRApi

CDR API cdr.DetailedCDRApi

devices: DevicesApi

devices API devices.DevicesApi

events: EventsApi

events API; events.EventsApi

groups: GroupsApi

groups API groups.GroupsApi

licenses: LicensesApi

Licenses API licenses.LicensesApi

locations: LocationsApi

Location API locations.LocationsApi

meetings: MeetingsApi

meetings API meetings.MeetingsApi

membership: MembershipApi

membership API memberships.MembershipApi

messages: MessagesApi

Messages API messages.MessagesApi

organizations: OrganizationApi

organization settings API

person_settings: PersonSettingsApi

Person settings API person_settings.PersonSettingsApi

people: PeopleApi

People API people.PeopleApi

reports: ReportsApi

Reports API reports.ReportsApi

rooms: RoomsApi

Rooms API rooms.RoomsApi

room_tabs: RoomTabsApi

Room tabs API room_tabs.RoomTabsApi

teams: TeamsApi

Teams API teams.TeamsApi

team_memberships: TeamMembershipsApi

Team memberships API TeamMembershipsApi

telephony: TelephonyApi

Telephony (features) API telephony.TelephonyApi

webhook: WebhookApi

Webhooks API webhook.WebhookApi

workspaces: WorkspacesApi

Workspaces API workspaces.WorkspacesApi

workspace_locations: WorkspaceLocationApi

Workspace locations API; workspace_locations.WorkspaceLocationApi

workspace_settings: WorkspaceSettingsApi

Workspace setting API workspace_settings.WorkspaceSettingsApi

session: RestSession

rest.RestSession used for all API requests

property access_token: str

access token used for all requests

Returns:

access token

Return type:

str

close()[source]

Subpackages

Submodules