TfL to Monzo app!

(Simon B) #1

An awesome looking app built by one of our COps, @akash who is studying computer science and working for us on weekends :grinning:

He told me a couple of months ago that he was working on this, so cool to see it up and running. Hope he gets a good grade for it :grinning:


Monzo x TFL = 😍
Transaction Widgets API
(Dan) #2

How do I use this?


(I Can't Wait Till Tuesday, Scrap The Graph Day!!!!) #3

Make this work for me please, I will be home in 30 mins.

Thanks xx


(Matt) #4

Detailed receipts are something I definitely expect from Monzo when an open API is available for the data. If you could throw this into Monzo Labs, that would be excellent!


(MikeF) #5

Without looking too deep, this appears to be an external app designed to feed receipts through the Monzo receipts API. As such, it won’t be compatible with Monzo Labs as that works with in-built app functionality.

This would need releasing as a separate installation of some sort. I have no idea what platform it runs on (because I haven’t looked).



Saw this on Twitter (retweeted by @simonb) and it looks rather fantastic!


(Michael B) #7

Looks outstanding!
Flux will definitely be all over these guys soon! :star_struck:


(Nathan) #8

Looks good, wont be in london until the end of the month myself but can someone please give it a whirl and let me know how it goes please so i can have it all set up before i head over if worthwhile :slight_smile:


(I Can't Wait Till Tuesday, Scrap The Graph Day!!!!) #9

Is it working yet I can’t see how to set this up?

1 Like

(Simon B) #10

You’ll need to ask @akash - this is his uni project, so he may not have opened it up to anyone else just yet :grinning:


(Sacha Zarb) #11

Which of my children do I need to sell to get my grubby Hands on this.

Looks exceptionally good


(I Can't Wait Till Tuesday, Scrap The Graph Day!!!!) #12

@akash Make is so, pleaseeeee make it so1!!!111!!111!!


(Akash Goswami) #13

Hey all,

Thanks so much for the interest in our application!

A few people have asked how they can enable this and I just wanted to make it clear that this is not an official integration but something that was made using the developer API Monzo provides. While our application does support multiple accounts, the API is only meant to be used for your own account or a small user of users that have to be whitelisted to use the app.

In its current state, the app is not suitable to be used more widely unfortunately as it was created as a coursework project.

If anyone is interested in how this was made, I can confirm that it involved web scraping the TfL website using a Python script and using the Monzo to push this data to a TfL transaction.


(I Can't Wait Till Tuesday, Scrap The Graph Day!!!!) #14

I am very interested but last time I tried something like this the other day but I got stuck on Python (Mac).

Is this always updating?

1 Like

(Will Pimblett) #15

Are you willing to put the source for this on GitHub? Given the API isn’t currently supposed to be used beyond a few users at this stage it would make more sense for those wanting this to host their own copy.


(Akash Goswami) #16

You might need to spend some time learning how to use Python then. It’s a wonderful programming language and I highly recommend it as it’s great for beginners.

The app is meant to run when TfL transactions are created on a Monzo account so it only fetches the data from TfL when this occurs.

1 Like

(Akash Goswami) #17

At the moment we’re not looking to put the source code up on on GitHub publicly as we still need to submit this for our coursework.

Also there are a number of edge cases that have not been properly tested that could cause issues with receipt generation (for example incomplete journeys where you forget to tap out) and lead to other issues we haven’t tested for yet.

1 Like


Taking a quick look at TFLs API docs it doesn’t look like they support accessing user data ie: logging in and accessing a users data via OAuth or some other means.

I assume this is why you have to scrape the data? Kinda a shame you can’t access the data via their API☹️

EDIT: Project is awesome by the way :+1:t2::sunglasses:

1 Like

(Will Pimblett) #19

Understandable. Would be good to see this when you can though, more people working on it would certainly help clear those edge cases quicker! :grinning:

1 Like

(Harry) #20

I was going to build something similar, then realised that scraping was necessary and after looking at a few npm packages that did it for you, it was clear that TfL often make break changes to the oyster website!

Would be great if Monzo could work with TfL and other travel companies in the UK to provide this natively.