Over the weekend I wanted to get the fundamentals of Go, so thought that I’d make a new project to get hands-on with it. Through getting email receipts and scraping items from them, I can convert all my Wetherspoons and Trainline receipts into transaction data.
The application works by scraping emails over IMAP (the most popular email receiving protocol) and looking through their contents to find receipt items, quantities and costs and then converting it to Monzo’s formats and sending it to them over their receipt API.
It’s pretty nice to be able to get a better sense of where my money is going, and if Flux can expand to more merchants it’ll really change banking for the good. In the meantime, my solution makes it easy to look back through transactions at the two merchants and work out what I bought and when!
The API isn’t perfect though, and there are a few things that I’d change about it.
403 Forbidden
.Also, as an aside, Starling Bank should get a receipts API - I previously used them as my main current account, and it would be pretty useful to get that data matched up nicely too.
I’ve written some more about how I implemented the application, you can read it here: