Unofficial Dart implementation of Deutsche Bahn’s construction site API
https://pub.dev/packages/db_construction_site
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
378 B
13 lines
378 B
library db_construction_site;
|
|
|
|
import 'src/services/connection_service.dart';
|
|
|
|
export 'src/index.dart';
|
|
|
|
class DBConstructionSite {
|
|
/// Find train routes and connections that are affected by construction sites
|
|
final ConnectionService connections;
|
|
|
|
DBConstructionSite({baseUrl = 'https://bauinfos.deutschebahn.com/app'})
|
|
: connections = ConnectionService(baseUrl);
|
|
}
|
|
|