tankerkoenig_dart

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

tankerkoenig dart

A dart package to retrieve germans gas stations and gas prices from tankerkoenig v4 API.
Features #

retrieve gas stations by postal code, latitude and longitude or by given id
retrieve gas price statistics

Usage #
import 'package:tankerkoenig_dart/tankerkoenig_dart.dart';

Future<void> main() async {
const String apiKey = '';
final TankerKoenigApi api = TankerKoenigApi(apiKey);
print(
'Station by postal code: ${await api.stationsByPostalCode(postalCode: '24558')}');
print(
'Station by id: ${await api.stationById(id: '92f703e8-0b3c-46da-9948-25cb1a6a1514')}');
print('Statistics: ${await api.statistics()}');
}
copied to clipboard
See /example or /test for usage information.
See tankerkoenig.yaml file for api reference.
Additional information #
tankerkoenig Website
tankerkoenig API

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.