Weather dash is a flask app that adds weather cards to your dashboard for different cities. The app fetches live weather data from OpenWeatherMap
.
├── Images
├── LICENSE
├── README.md
├── bin
├── include
├── lib
├── pip-selfcheck.json
├── requirements.txt
└── src
.
├── app.py
├── app.pyc
└── weatherwidget
├── __init__.py
├── __init__.pyc
├── forms.py
├── forms.pyc
├── models.py
├── models.pyc
├── routes.py
├── routes.pyc
├── static
├── templates
└── weather.db
git clone https://github.com/anish03/weather-widget.git
source bin/activate
pip install -r requirements.txt
cd src/
flask run
-
URL:
/register
-
Method:
GET
|POST
-
URL Params: None
-
URL:
/account
-
Method:
GET
|POST
-
URL Params: None
-
URL:
/post/new
-
Method:
POST
-
URL Params: None
-
URL:
/post/:id
-
Method:
GET
-
URL Params:
id=[integer]