Skip to content

Added logger

Compare
Choose a tag to compare
@Amele9 Amele9 released this 30 Sep 20:58
· 56 commits to master since this release
a0ce047

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
)