The carburant repository fetches gas price data from the French government API and enables users to view the evolution of gas prices for each service station. It manages the data for each station and allows users to compare gas prices and find the cheapest gas stations near their location.
-
go get github.com/kpotier/carburant
-
Get an API key from https://cloud.maptiler.com/
-
Put this API key to
public/src/global.ts
-
npm install && npm run build
-
go run cmd/main.go
Ministère de l’Économie, des Finances et de la Souveraineté industrielle et numérique - Données originales téléchargées sur https://data.economie.gouv.fr/explore/dataset/prix-des-carburants-en-france-flux-instantane-v2/, mise à jour le 21 avril 2023.