Unofficial Dart implementation of Deutsche Bahn’s construction site API
https://pub.dev/packages/db_construction_site
Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
Jonas Franz
92f8cb70f5
|
4 anni fa | |
---|---|---|
example | ||
lib | 4 anni fa | |
test | ||
.drone.yml | ||
.gitignore | ||
.metadata | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
analysis_options.yaml | ||
pubspec.lock | ||
pubspec.yaml |
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");