Skip to main content

Python wrapper for Mondo public API

Project description

Build Status PyPI Version Python Versions License

Python library that nicely wraps Monzo public API and allows you to use it directly from your Python project.

To use the library you have to provide it with you Monzo access token. You can either do that by exporting it as an environment variable ($ export MONZO_ACCESS_TOKEN="YOUR_ACTUAL_ACCESS_TOKEN") or by passing it explicitly to MonzoAPI().

The library currently does not implement feed items, webhooks and attachments endpoints - I plan to add them in the future, but they were’t essential to my current needs and they could be completely different in the future - per docs: > The Monzo API is under active development. Breaking changes should be expected.

The major addition I do want to add is better authentication support - currently access tokens can be taken directly from the developer playground and only last a couple of hours which is really annoying.

Installation

>From PyPI:

$ pip install pymonzo

API

There’s no documentation as of now, but the code is commented and should be pretty straightforward to use.

But feel free to ask me via mail or GitHub issues if anything is unclear.

Tests

Package was tested with pytest and tox on Python 2.7, 3.4 and 3.5 (see tox.ini).

To run tests yourself you need to set environment variables with access token before running tox inside the repository:

$ export MONZO_ACCESS_TOKEN="YOUR_ACTUAL_ACCESS_TOKEN"
$ tox

Contributions

Package source code is available at GitHub.

Feel free to use, ask, fork, star, report bugs, fix them, suggest enhancements and point out any mistakes.

Authors

Developed and maintained by Paweł Adamczak.

Released under [MIT License][license].

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

pymonzo-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

pymonzo-0.1.0-py2.py3-none-any.whl (7.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pymonzo-0.1.0.tar.gz.

File metadata

  • Download URL: pymonzo-0.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pymonzo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a096531c223e4fc66f8bbb4b3cb0559c160cc52c459d8c281207c42ae0c1fd4c
MD5 e36ae7d2d2322570792b532b7aa2a2ae
BLAKE2b-256 7712cb4259ea70d0dbdc3d9188deef9517047c13812d7068cfdc91219f5b979a

See more details on using hashes here.

File details

Details for the file pymonzo-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pymonzo-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cea48ab6a12f94926354ba24ec5e2da6f9603ee1a79051e9efe78475cc01d782
MD5 3ef1712b018cfd9a9942b4e075be1752
BLAKE2b-256 5cd49c11767897072452ab66737433db54a93723c31031c5e97652eff6a7c39d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page