All Projects â†’ cesarferreira â†’ monzo-cli

cesarferreira / monzo-cli

Licence: other
💳 Monzo bank command line interface client

Programming Languages

ruby
36898 projects - #4 most used programming language
Gherkin
971 projects

monzo-cli

Gem Version Build Status security Code Climate Inline docs

Finally a bank with an API

Image

Usage

Balance

$ monzo-cli balance

  +---------+-------------+
  | Balance | Spent today |
  +---------+-------------+
  | £490    | £10         |
  +---------+-------------+

Transactions list

$ monzo-cli transactions

  +----------+---------------------------+------------------------------------------+----------+
  | Amount   | date                      | Description                              | Balance  |
  +----------+---------------------------+------------------------------------------+----------+
  | £ -5.59  | 2016-11-26T02:30:17+00:00 | Amazon EU              AMAZON.CO.UK  LUX | £ 37.42  |
  +----------+---------------------------+------------------------------------------+----------+
  | £ -46.99 | 2016-11-25T11:01:21+00:00 | Amazon Prime Now UK    811-111-1111  LUX | £ 43.01  |
  +----------+---------------------------+------------------------------------------+----------+
  | £ 1.00   | 2016-11-25T11:00:55+00:00 | Amazon Prime Now UK    811-111-1111  LUX | £ 90.00  |
  +----------+---------------------------+------------------------------------------+----------+
  | £ -1.00  | 2016-11-25T11:00:54+00:00 | Amazon Prime Now UK    811-111-1111  LUX | £ 89.00  |
  +----------+---------------------------+------------------------------------------+----------+
  | £ -10.00 | 2016-11-25T09:39:47+00:00 | SKY RESTAURANT         STAFF TOP UP  GBR | £ 90.00  |
  +----------+---------------------------+------------------------------------------+----------+
  | £ 0.00   | 2016-11-25T08:59:17+00:00 | Uber BV                help.uber.com NLD | £ 100.00 |
  +----------+---------------------------+------------------------------------------+----------+
  | £ 100.00 | 2016-11-24T20:00:02+00:00 | Initial top up                           | £ 100.00 |
  +----------+---------------------------+------------------------------------------+----------+

Accounts

$ monzo-cli accounts

  +---------------------+----------------------+
  | Description         | Date created         |
  +---------------------+----------------------+
  | Peter Pans Account  | 2015-11-13T12:17:42Z |
  +---------------------+----------------------+

Install

gem install monzo-cli

Setup

Get your access tokens from this URL: https://developers.getmondo.co.uk/api/playground

Please create/edit it on ~/.monzo-cli.yml with this format:

user_id: 18231092askdas9212
account_id: acc_0aksdaklsjSh28181
access_token: Qnjdas8hakxdjasQscGVgnVGIVXpvpZ5uCxkQ5XLnDHnOPoBtXreQ6adBo

Caveats

  • Right now the access_token expires everyday, still need to find a way to refresh it automatically

Contributing

I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:

  1. If its a feature, bugfix, or anything please only change code to what you specify.
  2. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
  3. Pull requests must be made against develop branch. Any other branch (unless specified by the maintainers) will get rejected.
  4. Check for existing issues first, before filing an issue.
  5. Have fun!

Created & Maintained By

Cesar Ferreira (@cesarmcferreira)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].