Skip to main content

Simple interface for

Project description

Weather API

This is a very simple library to access information from the api.

>>> from weathergovapi import WeatherGovApi
>>> point = WeatherGovApi.getPoint(31.9383,-81.3034)
# Information from the API can be accessed directly
>>> point.forecastUrl
# There are a few convenience methods
>>> forecast = point.forecast()
>>> current = forecast.periods[0]
>>> current.detailedForecast
'A chance of showers and thunderstorms before 4am, then a chance of rain showers and patchy fog. Cloudy, with a low around 62. West wind 2 to 9 mph. Chance of precipitation is 40%. New rainfall amounts less than a tenth of an inch possible.'

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for weathergovapi, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size weathergovapi-0.2-py3-none-any.whl (5.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page