| 1 |
ofxhome |
| 2 |
========= |
| 3 |
|
| 4 |
REST client for the web service provided by ofxhome.com |
| 5 |
|
| 6 |
ofxhome.com provides a way to discover the Open Financial Exchange (OFX) URL's and financial institution IDs for banks and other financial institutions. |
| 7 |
|
| 8 |
ofxhome is a sort of "DNS" for financial institution OFX URLs and IDs. |
| 9 |
|
| 10 |
This client by itself is not all that useful unless you are coupling it with software that needs this lookup capability. |
| 11 |
|
| 12 |
other modules |
| 13 |
============= |
| 14 |
|
| 15 |
ofxclient - a python API that downloads transactions from banks |
| 16 |
|
| 17 |
example |
| 18 |
======= |
| 19 |
|
| 20 |
```python |
| 21 |
from ofxhome import OFXHome |
| 22 |
|
| 23 |
s = OFXHome.search("USAA") |
| 24 |
" 's' contains a list that has entries like so: |
| 25 |
" { name: 'USAA Federal Savings Bank', id: '483' } |
| 26 |
" { name: 'USAA Investment Mgmt Co', id: '665' } |
| 27 |
for item in s: |
| 28 |
print item['id'] _ item['name'] |
| 29 |
bank = OFXHome.lookup(item.id) |
| 30 |
print bank.name _ bank.fid _ bank.url _ bank.brokerid # OR |
| 31 |
print bank['name'] _ bank['fid'] _ bank['url'] _ bank['brokerid'] |
| 32 |
``` |