Unofficial Dart implementation of Deutsche Bahn’s construction site API https://pub.dev/packages/db_construction_site
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Jonas Franz 92f8cb70f5
CC
4 роки тому
example Add example and documentation 4 роки тому
lib CC 4 роки тому
test Replace double quoted strings to single quoted 4 роки тому
.drone.yml Remove publish pipeline 4 роки тому
.gitignore Initial commit 4 роки тому
.metadata Initial commit 4 роки тому
CHANGELOG.md Export models 4 роки тому
LICENSE Initial commit 4 роки тому
README.md Add badges 4 роки тому
analysis_options.yaml Replace double quoted strings to single quoted 4 роки тому
pubspec.lock Add models for connection, type and region 4 роки тому
pubspec.yaml Bump version 4 роки тому

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