Hey all
Would anyone be interested in helping me get data from the FuelPricesQld API into an integration? I don’t know how to start the process.
I have access to the API (free for data consumers), and have retrieved the data I would like to build into HA via Postman (daily prices for my fuel type for all local service stations). The data comes back in json format… Looking at this I think it may be fairly straight forward for someone who knows what they are doing…
The following request provides the data I want
https://fppdirectapi-prod.fuelpricesqld.com.au/Price/GetSitesPrices?countryId=21&geoRegionLevel=2&geoRegionId=16
This would need to be combined with this request to get friendly names for the site ids
https://fppdirectapi-prod.fuelpricesqld.com.au/Subscriber/GetFullSiteDetails?countryId=21&geoRegionLevel=2&geoRegionId=16
I imagine the end result could be set up via the gui, users add in their API after applying for one, and then set their GeoRegionLevel / GeoRegionID / FuelID (could add multiple) etc and it can create entities for each station / price.
Cheers