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

hourly weather #6

Open
alekksander opened this issue Apr 23, 2017 · 9 comments
Open

hourly weather #6

alekksander opened this issue Apr 23, 2017 · 9 comments

Comments

@alekksander
Copy link

this is a request to implement hourly weather forecast for particular days.
Thank You.

@Sparker0i
Copy link
Owner

Sparker0i commented Apr 23, 2017

Hey there,

While this had been in plans for the next one after the previous release, unfortunately this could not make the cut for v3. I'll try my best to implement it in v4.

Regards.

@alekksander
Copy link
Author

Great! This will allow me to remove other weather apps.
Are other weather providers planned as well? Just curious... (not a request)
Thank You.

@Sparker0i
Copy link
Owner

Sparker0i commented Apr 23, 2017

No.

From the available weather providers, OWM seems best for me, because I can make 60 calls per minute ie. 86400 calls a day

Other providers allow only 1000 calls per minute day

@Gitsaibot
Copy link

If your app gets more popular you have the same problems like the developer from Forecastie !?
martykan/forecastie#182 (comment)

@Sparker0i
Copy link
Owner

According to this:
http://openweathermap.org/price
Each API key only allows 60 calls/minute then it blocks for up to 4 (four!) hours.

Yes, that can be an issue but OWM allows us to request for increase in number of calls per minute (which they won't do). Maybe a suggestion would be to use multiple API keys, but I am not sure if it will violate T&Cs of the keys.

@Gitsaibot
Copy link

The problem is you have to pay to increase the request rate. And I can understand that a developer from an opensource App don't have the money. With Forecastie I get this Message every day now: Too many requests and the weather don't update :(. I know I can get a key myself but a "normal" user won't do such a thing. I hope you find a solution because your app looks promising and sooner or later you get too much user for one free api key.

@Sparker0i
Copy link
Owner

Sparker0i commented Jun 28, 2017

Hey there @Gitsaibot , thanks for the kind words. It's written on their website that For open source projects if we request them, they may increase the calls/minute (that is unlikely to happen though) .

I am indeed planning for multiple API keys, though I am not sure whether this violates my T&Cs or not

Sent from my Xiaomi Redmi Note 3 using FastHub

@ghost
Copy link

ghost commented Jul 4, 2017

Another approach is to allow users to specify their own API key.

@Sparker0i
Copy link
Owner

Sparker0i commented Jul 4, 2017

@ainola and that is an option that I have provided to the users in the latest versions (v4+) of my app. Please let us not continue the discussion of API key here.

And for those who are concerned with the API key issues, let me tell you that using multiple API keys does not violate my T&Cs, provided they are from the same account. But there is also bad news that even if I use multiple API keys, for example 5 API keys, I will not have the luxury of using 5*60=300 calls per minute. If all these keys are created from the same account, if even one of them crosses the 60 calls per minute limit, then it will also be applicable to all the other keys as well, as OWM offers 60 calls per minute on an aggregate across all the API keys of my account.

Repository owner locked and limited conversation to collaborators Jul 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants