train_api 0.1.9 copy "train_api: ^0.1.9" to clipboard
train_api: ^0.1.9 copied to clipboard

discontinued

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 the stationName String;
  • TrainApi.getRoutes(Station start, Station end, DateTime date) to get a list of routes to go from start Station to end Station at date
  • TrainApi.getTrainDetails(Train train) to get details about a train (obtained previously from getRoutes)
1
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Get train travel, status, stations and more

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, http, intl

More

Packages that depend on train_api