Unofficial Dart implementation of Deutsche Bahn’s construction site API
https://pub.dev/packages/db_construction_site
Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
Jonas Franz
92f8cb70f5
|
4 lat temu | |
---|---|---|
example | 4 lat temu | |
lib | 4 lat temu | |
test | 4 lat temu | |
.drone.yml | 4 lat temu | |
.gitignore | 4 lat temu | |
.metadata | 4 lat temu | |
CHANGELOG.md | 4 lat temu | |
LICENSE | 4 lat temu | |
README.md | 4 lat temu | |
analysis_options.yaml | 4 lat temu | |
pubspec.lock | 4 lat temu | |
pubspec.yaml | 4 lat temu |
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-dev
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");