Transport for London have a fairly comprehensive API that has all kinds of live journey and network information: https://api.tfl.gov.uk/ - the article mentions that this project is using the API
Edit: Looks like TMB also have an API. I'm not sure how it compares to TfL's: https://developer.tmb.cat/