UsageΒΆ

To use Python weather.gov Wrapper in a project:

from weatherGov import weatherGov

weather = weatherGov('ADDRESS WHERE YOU WANT TO GET WEATHER DATA', 'YOUR GOOGLE GEOCODE API KEY')

weather.getLatLong()

print(weather.lat)
print(weather.long)

weather.getCurWeather()

print(weather.curConditions.text)