TIMS data feed has not been updated since Tuesday, 2 Nov 2021 11:44:00 +00:00

Hi,

As per subject line, the data feed for the traffic information has not been updated since Tuesday, 2 Nov 2021 11:44:00 +00:00.

I’m struggling to find anyway to contact TfL to get them to kick the server. Any suggestions welcomed.

@jamesevans can you assist please?

Thanks

Rob

Hi @rwillett

Our colleagues who look after the traffic systems have had to change the way they provide us data which has unfortunately broken the legacy/syndicated feed. The Unified API does contain the data for roads disruptions (e.g. https://api.tfl.gov.uk/Road/all/Street/Disruption?startDate=2021-11-03&endDate=2021-11-03) and we suggest that you switch to the Unified API for this data.

We are trying to restore the legacy/syndicated feed but this may take some time as support for this is reasonable endeavours.

Thanks,
James

1 Like

James

Thanks. It’s a lot of work for us to change to the Unified API, we’ll have a look but I’m not hopeful.

Best wishes

Rob

I was told the new feed is: https://tfl.gov.uk/tfl/syndication/feeds/tims.xml however unlike the old feed it’s blocked by CORS settings so I can’t just swap it out which is a pain.

@rob

We put the new URL in, that didn’t work, so we then removed the app_id and app_key from the curl command and that worked. Not sure what the impact of CORS is as it is working for us. We are not doing anything clever.

We’re now getting data out of TfL and into our Twitter feed.

If you need any help or more information, ask.

Thanks

Rob

We will look at writing a JSON to XML convertor over the weekend to see if we can get the new Unified API to work the way we want it to. There’s just too much work to convert to work directly with JSON. It’ll add a second or two to the workflow, but we can live with that.

Rob