summaryrefslogtreecommitdiff
path: root/README
blob: 417956d38adc0f3684833e1ff4a154d5fa6cf687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
ofxhome
=========

REST client for the web service provided by ofxhome.com

ofxhome.com provides a way to discover the Open Financial Exchange (OFX) URL's and financial institution IDs for banks and other financial institutions.

ofxhome is a sort of "DNS" for financial institution OFX URLs and IDs.

This client by itself is not all that useful unless you are coupling it with software that needs this lookup capability.

other modules
=============

ofxclient - a python API that downloads transactions from banks

example
=======

from ofxhome import OFXHome

s = OFXHome.search("USAA")
" 's' contains a list that has entries like so:
" { name: 'USAA Federal Savings Bank', id: '483' }
" { name: 'USAA Investment Mgmt Co', id: '665' }
for item in s:
    print item['id'] _ item['name']
    bank = OFXHome.lookup(item.id)
    print bank.name _ bank.fid _ bank.url _ bank.brokerid # OR
    print bank['name'] _ bank['fid'] _ bank['url'] _ bank['brokerid']