Parse OFX files into a usable data structure.
_______ _______( ___ )( ____ \|\ /|| ( ) || ( \/( \ / )| | | || (__ \ (_) /| | | || __) ) _ (| | | || ( / ( ) \| (___) || ) ( / \ )(_______)|/ |/ \|
Parse Open Financial Exchange (OFX) files into a usable data structure. Serialize objects into OFX file format.
var ofx = ;fs;
var ofx = ;var header =OFXHEADER: '100'DATA: 'OFXSGML'VERSION: '103'SECURITY: 'NONE'ENCODING: 'USASCII'CHARSET: '1252'COMPRESSION: 'NONE'OLDFILEUID: 'NONE'NEWFILEUID: 'unique id here';var body =SIGNONMSGSRQV1:SONRQ:DTCLIENT: 'value'USERID: 'user id'USERPASS: 'password'LANGUAGE: 'ENG'FI:ORG: 'org'FID: 'fid'APPID: 'QWIN'APPVER: '2100'CLIENTUID: 'needed by some places';var ofx_string = ofx;console;
In your data returned, you will have the following properties:
This file format is yucky, horrible and just silly. This module helps parse the ones I know about. And it doesn't do it in a nice way either. It may or may not work for your own use - only by trying it will you find out.
If you discover a broken file, please submit an issue with the sample file.
This module takes the OFX format and does the following:
The MIT License : http://appsattic.mit-license.org/2012/