1
0
Derivar 0
Unofficial Dart implementation of Deutsche Bahn’s construction site API https://pub.dev/packages/db_construction_site
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Jonas Franz 92f8cb70f5
CC
há 4 anos
example Add example and documentation há 4 anos
lib CC há 4 anos
test Replace double quoted strings to single quoted há 4 anos
.drone.yml Remove publish pipeline há 4 anos
.gitignore Initial commit há 4 anos
.metadata Initial commit há 4 anos
CHANGELOG.md Export models há 4 anos
LICENSE Initial commit há 4 anos
README.md Add badges há 4 anos
analysis_options.yaml Replace double quoted strings to single quoted há 4 anos
pubspec.lock Add models for connection, type and region há 4 anos
pubspec.yaml Bump version há 4 anos

README.md

db_construction_site

Pub Version (including pre-releases) Drone (self-hosted)

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");