Sure, takno did a good job of explaining.
National Rail provide a range of data that can be accessed by developers, everything from train departures, arrivals, calling points and delay reasons. The only issue is that they provide it in a format that isn't too friendly for developers to interact...