OFX
Open Financial Exchange (OFX) response reader in go. Compatible with OFX / QFX(Intuit) versions 1.02, 1.03 and 1.06.
Response Services
- Sign On
- Banking
- Credit Card
- Payments
- Investments
Example
package main
import (
"fmt"
"log"
"os"
"github.com/luizbranco/ofx"
)
func main() {
log.SetFlags(0)
for _, a := range os.Args[1:] {
f, err := os.Open(a)
if err != nil {
log.Fatalf("error reading file %s, %s", a, err)
}
t, err := ofx.Parse(f)
if err != nil {
log.Fatalf("error parsing file %s, %s", a, err)
}
fmt.Printf("%s", t)
}
}
go run main.go example.ofx
TODO (Contributions welcomed)
- Add more samples from different banks
- Match OFX type specs for each element