Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show the amount and timestamp when the price was last updated #25

Open
basc opened this issue Apr 20, 2023 · 5 comments
Open

show the amount and timestamp when the price was last updated #25

basc opened this issue Apr 20, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@basc
Copy link

basc commented Apr 20, 2023

I really like Spritpreise app.

It would be helpful to show when the price was last updated like some other apps do.

example:
Diesel: € 1,569

-3 ct vor 29 Minuten

In the API there is lastChange with timestamp and amount.

Thank You.

@woheller69
Copy link
Owner

Where in the API is it?

@basc
Copy link
Author

basc commented Apr 21, 2023 via email

@woheller69
Copy link
Owner

Interesting. This is a different API.

https://creativecommons.tankerkoenig.de/api/v4/stations/search/?lat=52.521&lng=13.438&rad=1.5&sort=dist&type=all&apikey=xxx

It is not available in the official API documentation at

https://creativecommons.tankerkoenig.de/ -> Info

which defines this API call:

https://creativecommons.tankerkoenig.de/json/list.php?lat=52.521&lng=13.438&rad=1.5&sort=dist&type=all&apikey=xxx

Will think about it when they update their official documentation. But it is a lot of work as the database also has to be modified.
And does it really help if you see that you just missed a good price by 5 minutes?

@woheller69 woheller69 added the enhancement New feature or request label Apr 26, 2023
@martin-braun
Copy link

And does it really help if you see that you just missed a good price by 5 minutes?

That's true, but your chances increase to catch the good price when it was changed recently.

Is there an update on this?

@woheller69
Copy link
Owner

The official API documentation is still the same. I have no plans to implement the other API just for this purpose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants