Whatsapp-api-client-python

Latest version: v0.0.45

Safety actively analyzes 625951 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.0.44

Fixes

- Fixed logger

Enhancements

- Updated python-package.yml

Features

- Added time to logs
- Added links to docs
- Added GetAuthorizationCode method (thanks to Jibek100)

Example:
python
greenAPI.account.getAuthorizationCode(11001234567)

0.0.43

Fixes

- Fixed workflows
- Fixed UploadFile method logging

Enhancements

- Updated docs
- Updated examples
- Updated tests

Features

- Added Python **3.12** support
- Added GetWaSettings method (thanks to andreyMalyshkin)

Example:
python
greenAPI.sending.getWaSettings()


- Added SendPoll method (thanks to Jibek100)

Example:
python
greenAPI.sending.sendPoll(
"11001234567c.us",
"Please choose a color:",
[
{"optionName": "Red"},
{"optionName": "Green"},
{"optionName": "Blue"}
]
)

0.0.42

Fixes

- Fixed webhook connection

Enhancements

- Updated examples

Features

- Added debug mode

In debug mode you can see data received from the Green API. To enable debug mode, add `debug_mode` option with `True` value

python
greenAPI = API.GreenAPI(
"", "", debug_mode=True
)


- Added `raise_errors` option

If the option is enabled, it will be raised when an error is received

python
greenAPI = API.GreenAPI(
"", "", raise_errors=True
)

0.0.41

- Fixed ReadTimeout error

0.0.40

- Fixed uploadFile

0.0.39

- Added media host

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.