chubin / wttr.in

:partly_sunny: The right way to check the weather
https://wttr.in
Apache License 2.0
24.36k stars 1.1k forks source link

Oneliner not for current conditions but for a few hours forecast? #329

Open 097115 opened 5 years ago

097115 commented 5 years ago

Hi!

As I understand, one line reports, like curl https://wttr.in/London?format=%l+%t+%h+%w inform us about the current conditions.

But may be it would be possible to add some switch, like %f=1, to tell what weather is expected to be in one hour's time?

Or, since my personal point is to check for the rain :), then may be some other switch would be possible, like %r=3, which would report like [...], no rain is expected in 3 hours time or something like that.

What do you think? :)

Thanks for the app!

chubin commented 5 years ago

Yes, it is a very useful feature. @dubl3a already mentioned it in #174 and I hope it will be available soon. I will post more information about this feature here, as soon as it is available

097115 commented 4 years ago

@chubin Sorry to disturb but still no news here, or have I missed something? :)

chubin commented 4 years ago

@097115 No, you haven't miss anything, this feature is still not implemented, but it is pretty close to be implemented now. The main problem with this feature was that the server could not handle load which was too high even with additional one-line features (because it is one-line format who produces the biggest fraction of load). Now when the problem is fixed, we can accelerate with all one-line features, and first of all this one.

I hope that I will have something to show maybe even on this weekend

strazto commented 4 years ago

Has this been implemented yet?

chubin commented 3 years ago

Sorry guys, not yet, I am totally busy with other projects, but as soon as I am back, I will do it

chubin commented 3 years ago

(also see #447)

shirishag75 commented 2 years ago

Whenever you put in the 3 day forecast for the one-line method, please share here too with an example how it will work so we know. Thank you.

elsurudo commented 11 months ago

Has this been implemented, or is it planned still? I have a need for it (specifically rain forecast), and I'm wondering if I can use wttr.in or if I should look further.

This project looks great otherwise!