jason0x43 / alfred-weather

Get weather forecast using Alfred
MIT License
157 stars 20 forks source link

Would be awesome if users could request weather for certain typed location #1

Closed nikitavoloboev closed 7 years ago

nikitavoloboev commented 7 years ago

Right now you can only see weather for the default location you set. If you want to see the weather in another place, you have to change this location.

It would be amazing to add another script filter to make a query request for weather for a certain location and then retrieve it.

Would this be possible to do?

Thank you a lot for making this workflow.

jeffbyrnes commented 7 years ago

@nikitavoloboev you should be able to enter a zip code after the wtr|wth|wtd to get another location’s forecast. Works for me!

jason0x43 commented 7 years ago

As @jeffbyrnes points out, entering a location after one of the forecast commands (wtd or wth) should request a forecast for that location. A variety of location formats are supported, including ZIP codes, city names, city + state, and city + country. It may take a second after you finish typing a location name for the forecast to update.

Let me know if this isn't working.

nikitavoloboev commented 7 years ago

Thank you @jason0x43, didn't know that I could just enter a city name like this. This is amazing.