Fuel Pulse
A Java library to get the fuel prices in India by city.
Loading...
Searching...
No Matches
io.github.amithkoujalgi.fuelprices.PriceAPI Class Reference

Public Member Functions

 PriceAPI (PriceSource source)
 
float fetch (String city, FuelType fuelType) throws IOException
 

Detailed Description

Definition at line 10 of file PriceAPI.java.

Constructor & Destructor Documentation

◆ PriceAPI()

io.github.amithkoujalgi.fuelprices.PriceAPI.PriceAPI ( PriceSource source)

Definition at line 13 of file PriceAPI.java.

Member Function Documentation

◆ fetch()

float io.github.amithkoujalgi.fuelprices.PriceAPI.fetch ( String city,
FuelType fuelType ) throws IOException

Definition at line 17 of file PriceAPI.java.


The documentation for this class was generated from the following file: