Golang library for querying and parsing OFX
Go to file
Aaron Lindsay f511c6ca75 Add automated setting detection command 2017-03-23 08:43:34 -04:00
cmd/ofx Add automated setting detection command 2017-03-23 08:43:34 -04:00
README.md Create initial README 2017-03-23 05:48:01 -04:00
banking.go Switch to own clone of xml encoding library 2017-03-22 20:59:40 -04:00
client.go client: Add RequestNoParse() 2017-03-22 19:56:59 -04:00
common.go Switch to own clone of xml encoding library 2017-03-22 20:59:40 -04:00
creditcards.go Switch to own clone of xml encoding library 2017-03-22 20:59:40 -04:00
investments.go Switch to own clone of xml encoding library 2017-03-22 20:59:40 -04:00
leaf_elements.go Initial commit 2017-03-11 07:15:15 -05:00
profile.go Switch to own clone of xml encoding library 2017-03-22 20:59:40 -04:00
request.go Switch to own clone of xml encoding library 2017-03-22 20:59:40 -04:00
response.go Switch to own clone of xml encoding library 2017-03-22 20:59:40 -04:00
securities.go Switch to own clone of xml encoding library 2017-03-22 20:59:40 -04:00
signon.go Switch to own clone of xml encoding library 2017-03-22 20:59:40 -04:00
signup.go Switch to own clone of xml encoding library 2017-03-22 20:59:40 -04:00
types.go Switch to own clone of xml encoding library 2017-03-22 20:59:40 -04:00
types_test.go Switch to own clone of xml encoding library 2017-03-22 20:59:40 -04:00
util.go Switch to own clone of xml encoding library 2017-03-22 20:59:40 -04:00

README.md

ofxgo

A library for querying OFX servers and parsing the responses and an example command-line client.

Goals

The main purpose of this project is to provide a library to make it easier to query your financial information with OFX from the comfort of Golang, without having to marshal/unmarshal to SGML or XML. The library does not intend to abstract away all of the details of the OFX specification, which would be very difficult to do well. Instead, it exposes the OFX SGML/XML hierarchy as structs which mostly resemble it.

Because the OFX specification is rather... 'comprehensive,' it can be difficult for those unfamiliar with it to figure out where to start. To that end, I have created a sample command-line client which uses the library to do simple tasks (currently it only lists your accounts and queries for balances and transactions). My hope is that by studying its code, new users will be able to figure out how to use the library much faster than staring at the OFX specification (or my comprehensive documentation). The command-line client also serves as an easy way for me to test/debug the library with actual financial institutions, which frequently have 'quirks' in their implementations. The command-line client can be found in the cmd/ofx directory of this repository.

Documentation

(Limited) API documentation can be found at https://godoc.org/github.com/aclindsa/ofxgo

Installing the command-line client

To install the command-line client and test it out, you may do the following:

$ go get -v github.com/aclindsa/ofxgo/cmd/ofx && go install -v github.com/aclindsa/ofxgo/cmd/ofx