Spritradar (fork)

Rating: 
5
Your rating: None Average: 5 (3 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.

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

 

Screenshots: 
Application versions: 
AttachmentSizeDate
File harbour-spritradar-0.2.0-1.i486.rpm77.65 KB10/05/2022 - 19:54
File harbour-spritradar-0.2.0-1.armv7hl.rpm76.11 KB10/05/2022 - 19:54
File harbour-spritradar-0.2.0-1.aarch64.rpm77.26 KB10/05/2022 - 19:54
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
Changelog: 

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

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

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