Metadata-Version: 2.1
Name: openweatherclass
Version: 0.5.1
Summary: An implementation of the Openweather API in Python.
Home-page: https://github.com/bearhudson/OWAlert
Author: Brian Hudson
Author-email: reallybrianhudson@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: pydantic (>=1.10.4,<2.0.0)
Requires-Dist: requests (==2.28.1)
Project-URL: Repository, https://github.com/bearhudson/OWAlert
Description-Content-Type: text/markdown

# A Python implementation of the Open Weather API 

To use ➡️

* install from [PyPi](https://pypi.org/project/openweatherclass/).

[OpenWeather Homepage](https://openweathermap.org/)

```shell
pip install openweatherclass
```

* Get an [API](https://openweathermap.org/api) Key

* Initiate the class

```python
import openweatherclass as owc

weather = owc.OpenWeatherClass(api_key=API_KEY, zipcode='02188', units='imperial')
print(weather.geo_data['name'])
print(weather.weather_data['current']['temp'])
```

