What is Monzoh?
Monzoh is a Python library that makes it easy to work with the Monzo Developer API. It enables developers to build applications that interact with their Monzo bank account.Type-Safe
Built with Pydantic models for complete type safety and validation
Full API Coverage
Comprehensive coverage of all Monzo API endpoints and features
OAuth2 Authentication
Simple OAuth2 flow with automatic token management
Error Handling
Comprehensive error handling with custom exception types
Features
- Full Monzo API Coverage: Access all Monzo API endpoints including accounts, transactions, pots, attachments, receipts, webhooks, and feed items
- Type-Safe: Built with Pydantic models for complete type safety and runtime validation
- Simple OAuth2: Easy-to-use OAuth2 authentication flow with automatic token management
- Comprehensive Error Handling: Custom exception types for different API error conditions
- Mock Mode: Built-in mock data for testing without API calls
- Well-Tested: Comprehensive test suite with high code coverage
Quick Example
API Coverage
Monzoh provides comprehensive coverage of the Monzo API:Feature | Status | Description |
---|---|---|
OAuth2 Authentication | ✅ | Complete OAuth2 flow with token management |
Accounts | ✅ | List accounts and get balance information |
Transactions | ✅ | List, retrieve, and annotate transactions |
Pots | ✅ | Manage savings pots and transfers |
Attachments | ✅ | Upload and manage transaction attachments |
Receipts | ✅ | Add detailed receipt information to transactions |
Webhooks | ✅ | Register and manage webhook endpoints |
Feed Items | ✅ | Create custom feed items |
Installation
Install Monzoh using your preferred package manager:Requirements
- Python 3.9 or higher
- A Monzo developer account and OAuth2 credentials
- Internet connection for API calls (unless using mock mode)