Skip to content

Ramadas-Kamat/weather-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather-app

Project to display the weather conditions of a given city using Open weather API.

Objective

The purpose of this project is to build a Flask Framework in Python and learn to make use of ReST API. Also to improve the knowledge of web development tools such as HTML, CSS and Javascript.

Languages and tools

1. Python

2. HTML

3. CSS

4. JavaScript

5. Flask Framework

6. Open Weather API

7. Typed.js library

Setup

Step 1: Installing Flask

$ pip install -U Flask

Step 2: Get your Open Weather API key

Step 3: Add the API key in src/creds.json

Step 4: Running the App

$ git clone <forked_repo_link>
$ cd weather-app/src
$ python app.py

Open a web browser and open the URL displayed in the command line to see the Home page. e.g. http://127.0.0.1:5000/

Output

Home Page

Home page

Result Page

Result page

References

[1] Installing Flask: https://pypi.org/project/Flask/

[2] Open weather API: https://openweathermap.org/api

[3] Typed.js: https://github.com/mattboldt/typed.js/

PRs Welcome Open Source? Yes!

Will be happy to recieve contributions of your code! Happy Coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 45.6%
  • Python 29.7%
  • CSS 24.7%