MMM-Fuel icon indicating copy to clipboard operation
MMM-Fuel copied to clipboard

Added "GasBuddy" provider

Open christopheraryan opened this issue 2 years ago • 3 comments

Added a new provider from GasBuddy. The prices from Autoblog are not updating as frequently as this new site. Currently this lists the least expensive gas prices but eventually I would like to modify it to also accept a list of stations so that it shows prices for just them.

Here is a sample config section:

 {
            module: "MMM-Fuel",
            position: "top_right",
            config: {
                types: ["regular"],
                provider: "gasbuddy",
                zip: "44060",
                rotate: false,
                max: 10,
                showDistance: false,
                sortBy: "regular",
            }
        },

christopheraryan avatar Aug 02 '22 12:08 christopheraryan

@christopheraryan thank you for your contribution. Please let me know if you need any help with my comments

fewieden avatar Aug 06 '22 05:08 fewieden

There are some merge conflicts

fewieden avatar Aug 06 '22 05:08 fewieden

I think I addressed all of your comments. Thank you for the feedback! -Chris

acer123acer123 avatar Aug 06 '22 16:08 acer123acer123

@acer123acer123 I fixed the remaining issues, thanks again

fewieden avatar Aug 08 '22 06:08 fewieden