Spritradar (fork)

Rating: 
5
Your rating: None Average: 5 (4 votes)

An SFOS app to find Fuel Stations and Prices around you.

This fork adds a Settings page (found under Favs) to permit you to add a Tankerkoenig api key.  You will need a key to use the api for this plugin.

Supports GPS lookups.

TK api key here: https://creativecommons.tankerkoenig.de/#register

Currently I've only tested Tankerkoenig.

Please make tickets here: https://github.com/poetaster/harbour-spritradar

Based on the fun stuff at:

https://github.com/xXSparkeyy/harbour-spritradar

Many thanks to carmen for fixes and translation updates!

 

Screenshots: 
Application versions: 
AttachmentSizeDate
File harbour-spritradar-0.2.1-1.i486.rpm77.6 KB11/05/2022 - 15:30
File harbour-spritradar-0.2.1-1.armv7hl.rpm76.09 KB11/05/2022 - 15:30
File harbour-spritradar-0.2.1-1.aarch64.rpm77.24 KB11/05/2022 - 15:30
File harbour-spritradar-0.2.2-1.aarch64.rpm67.13 KB21/10/2023 - 18:31
File harbour-spritradar-0.2.2-1.i486.rpm67.69 KB21/10/2023 - 18:31
File harbour-spritradar-0.2.2-1.armv7hl.rpm66.12 KB21/10/2023 - 18:31
File harbour-spritradar-0.2.3-1.i486.rpm68.18 KB20/11/2023 - 21:09
File harbour-spritradar-0.2.3-1.armv7hl.rpm66.6 KB20/11/2023 - 21:09
File harbour-spritradar-0.2.3-1.aarch64.rpm67.6 KB20/11/2023 - 21:09
Changelog: 

v.02.3 -  Prix Carburant 
- still a WIP, but it appears to deliver prices in france. and stations for faves with prices.

0.2.2 - Postal code lookup fixes
- and Sailjail on
- spanish translation updates
- icon updates
- thanks to carmenfdezb

0.2.1 Disable Sailjail
- also moved apikey setting to plugins
- sailjail after move to pure QML settings.

0.2.0 SFOS 4.4 release
- add a Settings page for TK api key (can be extended)
- add sailjail stuff
- add some chum/obs meta data
- add some icons
 

Comments

monkeyisland's picture

Hi is is possible, to add a Option for Autogas / LPG ?

objectifnul's picture

App doesn't start here (SailfishX 4.5.0.24, Xperia X)

HansRoulade's picture

Any chance to make list sorting (by price...) a permanently memorized selection?

NGC_Ollie's picture

Is this app dead? I don't get it working on my phone.

jsingla's picture

Hi,

I installed this version of the app, into my new xz2c but it doesn't work, initially I've got a invalid zip code, after I added the api-token, but nothing changed, if I go to the search, it doesn't work too. I cannot open issues in the git you comment for new issues (I imagine because it's a fork)

J.

poetaster's picture

Also just tried deleting the api key and plz. closing app. re-open, re-enter ... and it 'just works'. I would guess you have an error on entering the api key?

poetaster's picture

Ah, I'd forgotten to enable issues. They are on now.

I''ve only tested within Germany. You're testing tankerkoenig?

I just downloaded from openrepos again, and it seems fine.

Can you try to run it in the terminal?

 

 

jsingla's picture

after removing the spritradar (aarch64) that I installed to have the app working. And remove of the configuration, I installed the app, for the first time, didn't work, but after openrepos told me there was an update, I instaled the update and WALA is working!

(tbh, I'm not sure the app is this one, the one I've got working)
pkcon search spritradar shows me the following:

Installed   	harbour-spritradar-2.11-1.aarch64 (installed)               	SpritRadar
Available   	harbour-spritradar-0.2.1-1.2.1.jolla.aarch64 (sailfishos-chum)	A Gas price comparison app
Available   	harbour-spritradar-0.2.0-1.aarch64 (openrepos-poetaster)    	A Gas price comparison app
Available   	harbour-spritradar-0.2.1-1.aarch64 (openrepos-poetaster)    	A Gas price comparison app
Available   	harbour-spritradar-debuginfo-0.2.1-1.2.1.jolla.aarch64 (sailfishos-chum)	Debug information for package harbour-spritradar
Available   	harbour-spritradar-debugsource-0.2.1-1.2.1.jolla.aarch64 (sailfishos-chum)	Debug sources for package harbour-spritradar
carmenfdezb's picture

Hi @poetaster! I built this app for aarch64 rpm some time ago (https://openrepos.net/content/carmenfdezb/spritradar-aarch64), and I fixed spanish plugin (thanks to @ferlanero). Sorry, I'm very busy this week and I haven't test your build, if you want to see my modifications, source code are here: https://github.com/carmenfdezb/harbour-spritradar/tree/fix-spanish-plugin
It's a really good idea to add this app to chum, so thank you so much for that!

poetaster's picture

Damn, I should have looked first ;) I'll incorporate your changes asap.

The simplistic Settings implementation of Settings has to go, so I'm working on getting that done.

So far I've also got the api key as a setting, per plugin, implemented so that it doesn't have to be compiled in....

I'll comment when I've got your changes in. Thanks for working on it!

 

 

 

objectifnul's picture

Not working for France ("Something went wrong")

poetaster's picture

And Prix Carburants seems to work.

poetaster's picture

I'm about to add a version with WIP france support. Please test if you have time. Thanks!

poetaster's picture

Yo, france is currently broken. Only one spanish and the tankkoenig plugins work. Also, under sailjail (which this still is) you may have to make the config file by hand:

touch ~/.config/harbour-spritradar/harbour-spritradar.conf

poetaster's picture

The config should be fine now with 0.2.1