GirkovArpa / temps-lite

A smart, good-looking little app which tries to speak your language the way you are used to.
MIT License
43 stars 2 forks source link

Hourly weather data is paid? #2

Open 4silvertooth opened 3 years ago

4silvertooth commented 3 years ago

Do you see chart when you click for the hourly chart? I don't see any chart in the original temps app, looking at the code it seems like its really old API which has gone paid now. Chart is easy to build in Sciter, should we change it? Ideas?

GirkovArpa commented 3 years ago

As much as I would love for the chart to be added (preview here), as you said the API is no longer free. Perhaps if somebody indicates they'd like it added?

I actually never got the original temps to work, although I did manage to use it as reference with the help of dev tools.

4silvertooth commented 3 years ago

On a side note I would suggest use Tauri in some of your future electron replacement projects, you could build even tinier aplication with that without changing much in the js code.

GirkovArpa commented 3 years ago

I tried a couple of their examples from here and they both just show a white screen then crash 🤔 It's an interesting attempt though and looks like they want to achieve what Neutralino.JS failed to do. Hope they succeed and I will keep them in mind for the future.

4silvertooth commented 3 years ago

Yes it's still in Alpha.

4silvertooth commented 3 years ago

Hey, data for 48 hours is free. Maybe be we could build chart just for those.

GirkovArpa commented 3 years ago

Good observation! Upon closer examination it appears that weather forecast every 3 hours for 5 days is also free. That's 8 data points per day which I think wouldn't look much different than 24 per day, after smoothing the curves.

Did you have a specific method in mind? Eventually I may begin hacking something up, but feel free to overwrite or improve on it if I get to it first.

4silvertooth commented 3 years ago

I had in mind to use the chart lib available in sciter-sdk samples.