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.
Jonas Franz f6ec15f21f
Update documentation
5 years ago
lib CC 5 years ago
test Move source files to src directory 5 years ago
.drone.yml Move source files to src directory 5 years ago
.gitignore Initial commit 5 years ago
.metadata Initial commit 5 years ago
CHANGELOG.md Initial commit 5 years ago
LICENSE Initial commit 5 years ago
README.md Update documentation 5 years ago
pubspec.lock Add models for connection, type and region 5 years ago
pubspec.yaml Update documentation 5 years ago

README.md

db_construction_site

Unofficial Dart implementation of Deutsche Bahn's construction site API. This library is not affiliated with Deutsche Bahn (DB). Please note that the API might change in the future making this library incompatible.

Usage

Add db_construction_site to your pubspec.yaml:

dependencies:
  db_construction_site: ^0.0.1

Import the package package:db_construction_site/db_construction_site.dart and initiate a new instance of DBConstructionSite you can pass another base url as a named constructor parameter if you'd like to.

import 'package:db_construction_site/db_construction_site.dart';

final constructionSite = DBConstructionSite();

or

import 'package:db_construction_site/db_construction_site.dart';

final constructionSite = DBConstructionSite(baseUrl: "https://your-new-base-url");