Skip to main content

A simple async python wrapper for the Monzo API, used primarily by the Monzo Home Assistant integration.

Project description

monzopy

A simple async python wrapper for the Monzo API, used primarily by the Monzo Home Assistant integration.

Webhooks

UserAccount provides ownership-safe primitives for managing webhooks on a specific Monzo account:

  • await user_account.register_webhook(account_id, url) registers a webhook and returns a frozen Webhook containing its id, account_id, and url.
  • await user_account.list_account_webhooks(account_id) returns every Webhook registered for that account.
  • await user_account.delete_webhook(webhook_id) deletes a webhook by ID.

The existing register_webhooks, list_webhooks, and unregister_webhooks methods remain available for compatibility. They operate across all known accounts; list_webhooks continues to return webhook ID strings and supports optional hostname filtering.

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

monzopy-1.6.0.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

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

monzopy-1.6.0-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file monzopy-1.6.0.tar.gz.

File metadata

  • Download URL: monzopy-1.6.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for monzopy-1.6.0.tar.gz
Algorithm Hash digest
SHA256 71b189108709391e83f8515041980a5dd1dc29fbd52065ca079aeb3859ae711a
MD5 1c3cc6375a2b87ed09ab05ea36988149
BLAKE2b-256 89678f63d344b3b9219db6049485041aef88aa6e148dfe038353510d710779e5

See more details on using hashes here.

File details

Details for the file monzopy-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: monzopy-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for monzopy-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee7b3e23fbf70d8f9bc3b94b9a52b676b342e95e77dc796ad38f8b8cc16e3d3b
MD5 06783df66405e2eb1c429e8356c7200e
BLAKE2b-256 1bd11da934fba52a9055bb42fdda19303e029c4307fdc7909a222b7026f40821

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