apiverve_energyprices 1.2.6
apiverve_energyprices: ^1.2.6 copied to clipboard
Energy Prices returns the latest daily closing spot price for WTI and Brent crude, Henry Hub natural gas and US gasoline, diesel, heating oil, propane and jet fuel benchmarks, with the previous close, [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add apiverve_energypricesWith Flutter:
$ flutter pub add apiverve_energypricesThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
apiverve_energyprices: ^1.2.6Alternatively, 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_energyprices/apiverve_energyprices.dart';