Code Monkey home page Code Monkey logo

openbank's Introduction

OpenBank

A friendly REST service wrapper for OFX bank servers.

Quick Start

  1. Download latest release zip file from https://github.com/bradyholt/OpenBank/releases
  2. Unzip and run OpenBank.exe from command line. If using mono, run mono OpenBank.exe
  3. OpenBank should fire up and now be listening on port 1234, by default.
  4. In a browser, navigate to http://localhost:1234/ to ensure OpenBank is running and to get more info.

Get Transactions Example

To get a list of transactions for a bank account, you'll want to use the statement (POST) resource. The required parameters for this resource are:

Parameter Name Notes
ofx_url (obtain from OFX Home)
fid (obtain from OFX Home)
org (obtain from OFX Home)
user_id Your login username
password Your login password
bank_id Routing number (leave blank for CREDITCARD accounts)
account_id Your account number
account_type CHECKING, SAVING, MONEYMRKT, CREDITCARD, OTHER
date_start YYYYMMDD format
date_end YYYYMMDD format

For example - If you have a checking account at Chase, you would use the directory at OFX Home to get Chase's OFX information (direct link) including the ofx_url, fid, and org. The rest of the paramters should be known by you already. Using wget, you could download transactions for your Chase account, for date range 9/1/2013 to 9/15/2013, and save as JSON file with the following command:

wget --header="Accept: application/json" --post-data="ofx_url=https://ofx.chase.com
  &fid=10898&org=B1&user_id=YOUR_USERNAME_HERE&password=YOUR_PASSWORD_HERE&bank_id=111000614
  &account_id=816555555&account_type=CHECKING&date_start=20130901
  &date_end=20130915" http://localhost:1234/statement -O statement.json

openbank's People

Contributors

bradymholt avatar mlinnell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.