Skip to main content

apiverve_gasprices 1.2.6 copy "apiverve_gasprices: ^1.2.6" to clipboard
apiverve_gasprices: ^1.2.6 copied to clipboard

Gas Prices returns average retail gasoline, diesel and LPG prices from official weekly government surveys for the US, the UK, all 27 EU countries and the EU average. Pass a country, or a US state, reg [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add apiverve_gasprices

With Flutter:

 $ flutter pub add apiverve_gasprices

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  apiverve_gasprices: ^1.2.6

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:apiverve_gasprices/apiverve_gasprices.dart';
0
likes
120
points
1.05k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Gas Prices returns average retail gasoline, diesel and LPG prices from official weekly government surveys for the US, the UK, all 27 EU countries and the EU average. Pass a country, or a US state, region or city, to get the latest week with week-over-week and year-over-year changes, in any currency, per liter or per gallon.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_gasprices