Skip to content

cesarferreira/monzo-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

💳 Monzo bank command line interface client

Resources

Stars

Watchers

Forks

Packages

No packages published