A package to obtain information about train travel in Italy
With this package you can get information on Italian trains.
Just call TrainApi
class in your code and access to all static method like:
TrainApi.getStations(String stationName)
to get a list of railway stations starting with thestationName
String;TrainApi.getRoutes(Station start, Station end, DateTime date)
to get a list of routes to go fromstart
Station toend
Station atdate
TrainApi.getTrainDetails(Train train)
to get details about atrain
(obtained previously fromgetRoutes
)