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.
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/