Geocoding Forecasts
Opened this issue · 2 comments
I would be good if an address could be used for the forecast location instead of a lat and long.
Hi @ZeevG , how would you suggest to go about this? The forecast.io API doesn't seem to support geocoding.
I'm currently using another API for reverse geocoding when looking up the weather for a given address.
Hi, some preliminary work has been made on this feature in the V2 branch. Unfortunately I haven't worked on it in quite a while but I think most things should be working. You can check it out here https://github.com/ZeevG/python-forecast.io/tree/2.0.0
There is also no documentation for V2 yet so you will mostly have to read the source and tests. In particular this test case should get you started. https://github.com/ZeevG/python-forecast.io/blob/2.0.0/tests/test_forecastio.py#L117
Sorry about delaying this release so much. It's nearly there but I haven't had the time to finish it off.