Skip to content

Releases: green-api/whatsapp-api-client-python

Updated dependencies

04 Jun 04:49
b9124c7
Compare
Choose a tag to compare

Dependencies

  • Bump requests from 2.31.0 to 2.32.3

Fixed JSONDecodeError

13 Mar 05:04
bcabab4
Compare
Choose a tag to compare

Fixes

Enhancements

  • Added helpful links

Added GetAuthorizationCode method

28 Nov 03:06
b94f3eb
Compare
Choose a tag to compare

Fixes

  • Fixed logger

Enhancements

  • Updated python-package.yml

Features

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

Example:

greenAPI.account.getAuthorizationCode(11001234567)

Added new methods

19 Nov 11:20
9fc973c
Compare
Choose a tag to compare

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:

greenAPI.sending.getWaSettings()
  • Added SendPoll method (thanks to @Jibek100)

Example:

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

Added logger

30 Sep 20:58
a0ce047
Compare
Choose a tag to compare

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

greenAPI = API.GreenAPI(
    "", "", debug_mode=True
)
  • Added raise_errors option

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

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

Fixed ReadTimeout error

24 Aug 11:22
c99bfc0
Compare
Choose a tag to compare
  • Fixed ReadTimeout error

Fixed uploadFile

14 Jul 05:09
4185a5b
Compare
Choose a tag to compare
  • Fixed uploadFile

Added media host

05 Jul 15:54
526346a
Compare
Choose a tag to compare
  • Added media host

Added UploadFile method

03 Jul 14:13
Compare
Choose a tag to compare
  • Added UploadFile method
  • Updated python version
  • Updated webhook
  • Updated tests

Updated docs and examples

14 Jun 06:01
f37c568
Compare
Choose a tag to compare
  • Updated docs
  • Updated examples