Sign inSign up

tombursch/adac-spritpreis-api

By tombursch

•Updated almost 5 years ago
Archived

Image
0

199

tombursch/adac-spritpreis-api repository overview

⁠ ADAC-Spritpreis-API

Stars ⁠ License ⁠ Docker pulls ⁠

⁠🤖 Usage

Install using docker:

docker run -d -p 5000:5000 --name=adac-spritpreis --restart=unless-stopped tombursch/adac-spritpreis-api:latest

Search for gas stations here: https://www.adac.de/verkehr/tanken-kraftstoff-antrieb/kraftstoffpreise/⁠

Click on show details and copy the station id. I.e the last part of the domain⁠, 52066-aachen-aral/-1017401811/.

The request http://localhost:5000/details/52066-aachen-aral/-1017401811/ will now return a JSON respone with gas price details:

{
  "diesel": 1.469,
  "e10": 1.569,
  "super": 1.629
}

⁠🔨 Built With

⁠📜 License

ADAC-Spritpreis-API is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the Apache-2.0 License.

Tag summary

Content type

Image

Digest

Size

21.1 MB

Last updated

almost 5 years ago

docker pull tombursch/adac-spritpreis-api