train_api 0.1.9 train_api: ^0.1.9 copied to clipboard
Get train travel, status, stations and more
train_api #
A package to obtain information about train travel in Italy
Getting Started #
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
)