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

APIs [Question] #32

Closed
smaragdus opened this issue Jun 29, 2021 · 7 comments
Closed

APIs [Question] #32

smaragdus opened this issue Jun 29, 2021 · 7 comments

Comments

@smaragdus
Copy link

@FelixdelasPozas

For years I had been using two free but not open source programs- sWeather and WeatherMate (I preferred the former since it was lighter and provided more weather data) which were mostly reliable. But recently both programs stopped working and I sought for alternatives. I came upon your Tray Weather and without reading the description and requirements I installed it only to find out that one needed to get an API key from OpenWeatherMap. After having a look at their Privacy Policy I decided that I didn't want their key and that Tray Weather was not for since I did not want to register just to be able to use a weather service. So I had to uninstall Tray Weather without even being able to test it.

I would like to ask- have you explored other alternative APIs? Can these projects- Bright Sky and wttr.in, be of any use for your Tray Weather program? For the time being I have to rely on web services like wttr.in to get weather data which I find extremely awkward.

Regards

@FelixdelasPozas
Copy link
Owner

Hi @smaragdus .

I'll be happy to use a completely free API that provides weather and maps data for the whole world, but I don't think that service exists.

Weather data cost and someone has to pay for it in one way or another. Bright Sky uses the free german weather data and it's focused only on Germany (I suppose the germans pay it with taxes, and some services are also paid). And wttr.in gets its data from WorldWeatherOnline and I suppose the developer is using one of the paid plans (Starter or Pro, probably, depending in the amount of API requests per day, that I don't know). Also wttr.in doesn't provide wind/temp/cloud/rain maps that TrayWeather uses. Even my own country privides weather data but under public prices given that they are providing a service, even if we are paying it with our taxes.

For myself I think that using the free (not really free, they are gathering usage data and we don't really know the extent of what for) OpenWeatherMap data its a compromise I am willing to accept.

Right now TrayWeather uses OpenWeatherMap API, but I will be willing to change it if another free alternative appears that provides the same or more detailed information.

Regards,
Félix.

@smaragdus
Copy link
Author

@FelixdelasPozas

Hello Felix,

Thank you for your quick, kind, helpful and detailed response. Actually I supposed that you had explored other alternatives but yet I wanted to ask you. What you said is no surprise for me. Although that I am more and more convinced that there is no privacy once you connect to the internet and that the main purpose for the creation of the web was surveillance, tracking, profiling and data harvesting I still persist in my Quixotic behaviour to at least give as less data as possible to the global web data sharks. I suppose that in the future I might get a key from OpenWeatherMap using disposable mail plus proxy/VPN.

If I have time I may also have a look at the open source Android weather apps and if it happens that I come upon something that might be useful for your project I will let you know.

Since you are serious and responsive developer and since you use one of the few programming languages that I really like from the perspective of a user- C++ (yes, I am not a programmer) I may also test some of your other programs, some of which look interesting to me. Once it was a hobby of mine to test software but recently I test less and less stuff. I think that I should warn you that after testing your programs I may suggest some possible enhancements.

Since this issue was just a question and since you responded thoroughly I will close it.

Best regards

@smaragdus
Copy link
Author

@FelixdelasPozas

Have you checked this site? This is the WeatherAPI documentation.

@FelixdelasPozas
Copy link
Owner

FelixdelasPozas commented Jul 21, 2021

Hi. Seems it gives very good predictions (hourly predictions for the first days and later every 6/12 hours, instead of the constant 3 hour interval of OWM) and doesn't need an API key (just a query with latitude and longitude and you're done). However it doesn't provide maps of any kind or pollution data so we will be losing features.

Regards,
Félix.

Edited: It's included in the free api I was planning to look at, but it is one of the last ones so I didn't know much about it. This comes from another issue here.

@smaragdus
Copy link
Author

@FelixdelasPozas

Thanks for the quick response. One more question- have you thought of making Tray Weather use multiple APIs so that the user might choose which one they prefer? I am sure this would require a lot of hard work but I also see that you are working constantly on your tool. About me, I don't need maps of any kind, and even less pollution maps. By the way I had a look at the main site- Yr, and it works fine but it is in Norwegian (Søk=Seek).

Regards

@FelixdelasPozas
Copy link
Owner

I haven't seen any other service that provides (more or less) the same data provided by OpenWeatherMap. If I find something I like I might think about updating TW. But right now the answer is that there is no provider similar to OWM. Also, as you can see from the list of free apis most of them require to register to get an "apiKey", and that's precisely what you don't want, right?

Regards,
Félix.

@smaragdus
Copy link
Author

@FelixdelasPozas

Also, as you can see from the list of free apis most of them require to register to get an "apiKey", and that's precisely what you don't want, right?

Yes, exactly. If it happens that I come upon a free API not present in the list I will post it here.

¡Todo lo mejor!

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

No branches or pull requests

2 participants