Skip to main content

WebexPythonSDK-async

Basic functionalities are derived from WebexPythonSDK, but modified to use asynchronous HTTP calls.

Examples

from webexpythonsdk_async import AsyncWebexAPI
import asyncio

token = "YOUR_TOKEN"
persion_email = "YOUR_EMAIL"

api = AsyncWebexAPI(access_token=token)

async def main():
    async for webhook in api.webhooks.list():
        print(f"type: {type(webhook)}, {webhook}")

    resp = await api.messages.create(toPersonEmail=persion_email, text="Hello World")
    print(f"type: {type(resp)}, {resp}")

if __name__ == "__main__":
    asyncio.run(main())

Installation

python -m pip install webexpythonsdk-async

Todo

  • Support synchronous calls.
  • Add more examples.
  • Remove Python 2 style code.
  • Add type annotations.

Download files

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

Source Distribution

webexpythonsdk_async-0.1.3.tar.gz (62.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

webexpythonsdk_async-0.1.3-py3-none-any.whl (104.9 kB view details)

Uploaded Python 3

File details

Details for the file webexpythonsdk_async-0.1.3.tar.gz.

File metadata

  • Download URL: webexpythonsdk_async-0.1.3.tar.gz
  • Upload date:
  • Size: 62.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for webexpythonsdk_async-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c04940c528cf3697aaf0dc2c5356313bb11480f2477883614084235127301486
MD5 7fc0f018b073a90fabaeb3e756011606
BLAKE2b-256 d8f0b2b4a929e22f28815cac96b281d4dbcfb28c4217c88dfdd9ea38411d6a0d

See more details on using hashes here.

File details

Details for the file webexpythonsdk_async-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for webexpythonsdk_async-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c8597201ad04467d02d656748d1d68f3f650ecdd8946f0a2efefc2b178350cf1
MD5 b25fba2707525a7bc98c8861ced6c35c
BLAKE2b-256 e6c1821f7de5021e61bd1e8c490ff589501a6ba7832e9add088d65722ffff87b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page