carburant

module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2023 License: GPL-3.0

README

carburant

Go Reference

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.

Installation

  1. go get github.com/kpotier/carburant

  2. Get an API key from https://cloud.maptiler.com/

  3. Put this API key to public/src/global.ts

  4. npm install && npm run build

  5. go run cmd/main.go

Screenshots

preview preview

License

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.

Directories

Path Synopsis
pkg
api
gas
gas package includes data structures for service stations, such as their ID, address, and coordinates.
gas package includes data structures for service stations, such as their ID, address, and coordinates.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL