Skip to content

Weather console app using OpenWeather APIs

Notifications You must be signed in to change notification settings

JackStrick/weather-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather-app

This app is meant to be the foundation of a project you can slowly expand and grow. We would like to start with a command line tool but it should be modular, so that it can eventually expand to a full fledged web application.

Requirements

You are to build a command line tool that pulls a city from a configuration file and displays the cities next 7 day forecast. The more details about the forecast you put in the better. It will all be run and displayed in the command line for now.

You will need to use a Weather API to retrieve the weather data. You do not have to use the one I linked this is just an example.

The goal of this project is just to the first stages of a full fledged weather app. When building and designing the application keep in mind you want every component to be reusable. Ideally you would want the design to be object oriented.

When designing classes ask yourself what is this components job and does it do only its job? You don't want a "display" module that is made just to print the data to the screen to also be fetching the weather! Keep different jobs seperated!

Contributing

You need to fork the repo and then clone this repo to your local repository. Then you should create your own branch and open a pull request to the main repo once your done and ready for me to look over your code.

Tips

google. google. google. I provided a few links to get you started but if you do not know how to do something google it. The best way to learn is by doing.

Don't know what an API is? google it.

Don't know how to use an API in python? google it.

Don't know hwo to read from a file? google it.

Don't know what the hell git is? google it.

I have provided some skeleton code. This is one way to structure the project. You are not restricted to this. I would reccomend not looking at the skeleton code unless you are stuck.

Note I only spent a few minutes thinking about the skeleton code. It is possible you will need more/less modules then what I provided

Future work

Once done with this we can talk about how this project can be expanded.

note you do not need to use python but I think it would be the easiest and I would reccomend it

About

Weather console app using OpenWeather APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%