wttr.in icon indicating copy to clipboard operation
wttr.in copied to clipboard

Historical data support

Open opt9 opened this issue 5 years ago • 3 comments

I want to compare the today's weather to the yesterday's weather. You already support 0, 1, 2 view options.

View options:

    0                       # only current weather                                        
    1                       # current weather + today's forecast                          
    2                       # current weather + today's + tomorrow's forecast

If you add -1 option, it would be very good.

-1 # yesterday's weather + today's forecast

:smile:

opt9 avatar Dec 04 '20 23:12 opt9

I think it would be possible, and even better we could do something like

curl wttr.in/Location@DATE

like we have it for /Moon@DATE:

$ curl wttr.in/Moon@2021-01-01

Moon@DATE

The only problem is that historical data is pretty expensive. But it would be great at least to prepare the code for it

chubin avatar Jan 01 '21 21:01 chubin

@chubin Was looking for a location@DATE feature, to use in (backdated) daily notes. Is all historical data equally expensive, or would it be possible to have 1 or 2 days back?

ovanbiervliet avatar Nov 23 '21 17:11 ovanbiervliet

@ovanbiervliet It is expensive, but maybe it at some point, we could try to run a support campaign on patreon, and gather enough funding for this. I think it could be a really interesting feature

chubin avatar Mar 27 '22 13:03 chubin