Git Product home page Git Product logo

monzo-export's Introduction

Monzo Export

Export Monzo Transactions to QIF and CSV files.

Install

git clone [email protected]:scottrobertson/monzo-export.git
bundle

Quick Start

MONZO=token from https://developers.monzo.com/
ruby monzo-export.rb csv --access_token=$MONZO --since=2016-10-10 --folder=/path/to/folder
ruby monzo-export.rb qif --access_token=$MONZO --since=2016-10-10 --folder=/path/to/folder

Quick Start Current Account

MONZO=token from https://developers.monzo.com/
ruby monzo-export.rb qif --access_token=$MONZO --since=2016-10-10 --folder=/path/to/folder --current_account

OAuth Configuration

This allows you to use a token from a client you set up on https://developers.monzo.com/ and then omit the --access_token argument.

Create a new client (either confidential or non-confidential) with a redirect url of http://localhost/monzo-export and then make a note of the clientID and clientSecret.

To configure Monzo To QIF to use OAuth, first run

ruby monzo-export.rb auth --clientid {clientID} --clientsecret {clientSecret}

This will prompt you to browse to the Monzo auth url in your browser to obtain your authorization code. Completing this workflow will result in Monzo sending you an email with a login link. You need to copy this link and use it in the next command.

ruby monzo-export.rb authurl --url {link-from-email}

This completes the setup, retrieves and stores the access token.

Differences between Confidential and Non-confidential clients

  • A confidential client will also give you a refresh token which is automatically used when your access token expires without any further input.
  • A non-confidential client will prompt the user to re-authenticate whenever the access token expires.

The tokens are stored locally in config.yml so anyone with access to this folder also has access to your access/refresh tokens.

monzo-export's People

Contributors

andrew-schofield avatar scottrobertson avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.