TFL Receipts Importer

(Carl) #1

I’ve created an python program to import data from TFL into Monzo Receipts.
https://github.com/cadamswaite/Monzo-TFL-Receipts

At the moment, it only works with CSV data downloaded from https://contactless.tfl.gov.uk though it could be extended to work with their API in the future.

16 Likes

TfL info improvements with check in/out locations and times
(I Can't Wait Till Tuesday, Scrap The Graph Day!!!!) #2

What do I do fro here

“Once you have registered your API client, you will have received a Client ID and a Client Secret. The next step is to clone this repository:”

And what client?

“Now we need to configure the client:”

0 Likes

(Simon B) #3

Great stuff Carl! :raised_hands:

2 Likes

(Carl) #4

Once you have created an oauth client in https://developers.monzo.com/apps/home
(make sure the redirect uri is set to ‘http://127.0.0.1:21234/’, took me a while to get that bit right!)

Then download the files from github, make a copy of ‘config-example.py’ called ‘config.py’. Open this file and put in the credentials from your oauth client (client id and client secret).

After this you need to get copies of your journey history from the tfl website, which means creating an account here: https://contactless.tfl.gov.uk/

3 Likes

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

Thanks but I got lost at the python part now.

Think I’m gonna leave it, too hard tbh.

0 Likes

(Jordan Taylor) #6

Worked really well!
Nice work :slight_smile:

2 Likes

#7

This is really nice.

Hopefully Monzo can directly integrate with TfL to provide this for everyone. It could be really useful to spot of you didn’t tap out for some reason.

1 Like