tankerkoenig_api 1.0.0-dev.1 tankerkoenig_api: ^1.0.0-dev.1 copied to clipboard
This package implement the tankerkoenig api. With this api you can get acces to the german patrol station information with diesel, e5 and e10. This plugin is not developed by tankerkönig!
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");
}