panodata / dwdweather2

Python client to access weather data from Deutscher Wetterdienst (DWD), the federal meteorological service in Germany.
https://community.panodata.org/t/dwdweather2-a-python-client-to-access-weather-data-from-deutscher-wetterdienst-dwd/98
MIT License
72 stars 13 forks source link

Fix Class Init Issue and add tests #10

Closed jeremiahpslewis closed 5 years ago

jeremiahpslewis commented 5 years ago

Currently, initializing the class per the readme, e.g.

from datetime import datetime
from dwdweather import DwdWeather

# Create client object.
dw = DwdWeather()

results in an error. This PR fixes the issue and adds a test for the behavior.

amotl commented 5 years ago

Thanks a bunch!