tankerkoenig_api 1.0.0-dev.3 copy "tankerkoenig_api: ^1.0.0-dev.3" to clipboard
tankerkoenig_api: ^1.0.0-dev.3 copied to clipboard

outdated

This package implement a api with that you can get acces to the german patrol station information with diesel, e5 and e10. This plugin is not developed by tankerkönig!

example/main.dart

import 'package:tankerkoenig_api/tankerkoenig_api.dart';

void main(List<String> arguments) async {
  TankerkoenigListResponse response =
      await TankerkoenigApi("invalid").getStationsByRadius(
    lat: 52.520008,
    lng: 13.404954,
    rad: 25,
    type: "all",
    sort: "dist",
  );
  print(response.stations?.length ?? "no stations");

  TankerkoenigDetailResponse response2 =
      await TankerkoenigApi("invalid").getStationDetail(
    id: "id",
  );
  print(response2.station ?? "no stations");
}
3
likes
0
pub points
19%
popularity

Publisher

verified publishercedtegapps.de

This package implement a api with that you can get acces to the german patrol station information with diesel, e5 and e10. This plugin is not developed by tankerkönig!

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

http

More

Packages that depend on tankerkoenig_api