This Go application automates the process of logging into the website, downloading account statements in OFX format, and parsing the OFX file for transaction details.
Before running the application, make sure you have the following installed:
- Go
- Playwright
- Required Go packages (see go.mod file)
-
Clone the repository:
git clone https://github.com/JacquesBeets/go-ned-ofx.git cd fnb-ofx-downloader
-
Install dependencies:
go mod download
-
Set up your environment variables:
Create a
.env
file in the project root and add the following:USERN=your_username PASSWORD=your_password WEBSITE=your_website WEBSITE_LOGIN_WAIT=your_website_login_wait WEBSITE_LOGOUT_WAIT=your_website_login_wait
Run the application:
```bash
go run main.go
```
The application will automate the process of logging in, downloading the OFX file, parsing it, and cleaning up the temporary files.
This project is licensed under the MIT License.
- ofxgo - Go library for parsing OFX files.
- playwright-go - Go bindings for Playwright.