How to Monitor Webhooks and API Events with Python