TFL Receipts Importer

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

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

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:”

Great stuff Carl! :raised_hands:

2 Likes

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

Thanks but I got lost at the python part now.

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

Screenshot_20190330-195046

Worked really well!
Nice work :slight_smile:

2 Likes

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