Skip to main content

Commands for Webex Compliance Officers

Project description

Commands utilities for Webex Compliance Officers

Usage:

Usage: 
  python -m wbx_cpl [OPTIONS] COMMAND [ARGS]...
  python -m wbx_cpl COMMAND --help 

Options:
  --version            Show the version and exit.
  -t, --token TEXT     Your access token. AUTH_BEARER env variable by default.
                       You can find your personal token at
                       https://developer.webex.com/docs/getting-started.
  -d, --debug INTEGER  Debug level.
  --help               Show this message and exit.

Commands:
  meeting
  messaging
  recording

Examples:

# MEETING
# -------
# List messages sent in any meeting in Feb 2024 by given user email.
# python3 -m wbx_cpl meeting user_messages -f '{"from":"2024-02-01T00:00:00.000Z","to":"2024-02-29T20:26:59.814Z"} bc@4bfzj5.onmicrosoft.com

# List meeting participants in given meeting ID
# python3 -m wbx_cpl meeting participants 9fb5d46867f74d2ca91b1fabdff2e7b9_I_284366187397123659

# list messages posted in meeting given meeting ID, save in CSV file
# python3 -m wbx_cpl meeting messages -c /tmp/meeting-messages.csv 9fb5d46867f74d2ca91b1fabdff2e7b9_I_284366187397123659


# RECORDING
# ---------
# List recordings in given webex site from 15th Feb 2024. limit results to 5 recording
# python3 -m wbx_cpl recording list -c /tmp/recs.csv -f {"from":"2024-02-15T00:00:00.000Z","max":5} stephane-gaxe7-sandbox.webex.com

# Get recording details from given recording ID
# python3 -m wbx_cpl recording details 34d9c6fdcaab453f8b540643e04b0830

# Get recording contents from given recording ID
# python3 -m wbx_cpl recording download 34d9c6fdcaab453f8b540643e04b0830

# Get recording contents from recording IDs in .CSV input file
# python3 -m wbx_cpl recording download ./test-data/recording-input-list.csv

# MESSAGING
# ---------
# List user messages posted in any space in Feb 2024
# python3 -m wbx_cpl messaging user-messages -f {"from":"2024-02-01T00:00:00.000Z","to":"2024-02-29T20:26:59.814Z"} bc@4bfzj5.onmicrosoft.com

# List user messages, add space title and save to file
# python3 -m wbx_cpl messaging user-messages -c /tmp/messagesTitles.csv -t -f {"from":"2024-02-01T00:00:00.000Z","to":"2024-02-29T20:26:59.814Z"} bc@4bfzj5.onmicrosoft.com

# List messages posted in given space ID. Save to file, limit search to 5 messages per user.
# python3 -m wbx_cpl messaging space-messages -c /tmp/spacemessages.csv -f {"max":5} Y2lzY29zcGFyazovL3VybjpURUFNOnVzLXdlc3QtMl9yL1JPT00vZjBhZTRjZDAtNTdhMS0xMWVlLWEyYjktYjU2MmFiZTI4YzY3

# List members in given space ID, save to file
# python3 -m wbx_cpl messaging space-members -c /tmp/members.csv Y2lzY29zcGFyazovL3VybjpURUFNOnVzLXdlc3QtMl9yL1JPT00vZjBhZTRjZDAtNTdhMS0xMWVlLWEyYjktYjU2MmFiZTI4YzY3

# Download files attached to message id, save files under /tmp
# python3 -m wbx_cpl messaging message-files -d /tmp/ Y2lzY29zcGFyazovL3VybjpURUFNOnVzLXdlc3QtMl9yL01FU1NBR0UvMWYwY2NkZDAtYTNmMi0xMWVlLWI4ZGQtM2RlYzU4YzM1NTJm

# List spaces joined by given user email 
# python3 -m wbx_cpl messaging user-spaces sc-ben@mail.com

# List spaces joined by users listed in user export file (column 'User ID/Email (Required)')
# python3 -m wbx_cpl messaging spaces-count exported_users-a.csv 

Notes:

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

wbx_cpl-1.3.2.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

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

wbx_cpl-1.3.2-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file wbx_cpl-1.3.2.tar.gz.

File metadata

  • Download URL: wbx_cpl-1.3.2.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.10

File hashes

Hashes for wbx_cpl-1.3.2.tar.gz
Algorithm Hash digest
SHA256 e6e9bfffe803ac02163b656fd28b515c99a97d4719361cbb7d19d2189f316205
MD5 30a56494d4141b12eda1cf28405be079
BLAKE2b-256 087e23fbe28fd320101486142953eb05571033341a575b4340e7546ec5ac9d61

See more details on using hashes here.

File details

Details for the file wbx_cpl-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: wbx_cpl-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.10

File hashes

Hashes for wbx_cpl-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2b17067c162c9e0cf73593a686f852d77e010e06c4caa9e986cfae56213a4130
MD5 4164d51979477e5b7fee8f0d1ba10d6f
BLAKE2b-256 a717cd3d483e207708f59f3dea609adf2ec7011c8a1de71bba740931cf90c86a

See more details on using hashes here.

Supported by

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