Skip to content

R-udren/api-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather API

This is a simple Python program that provides weather reports for specified cities using the requests library to fetch data from wttr.in. It displays the weather information in the console.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Installation & Using

Download the repository.

git clone https://github.com/R-udren/api-weather

Moving into directory with program.

cd api-weather

Dependencies

You need to install dependencies. Here is two ways.

Way 1. Installing requirements.

python -m pip install -r requirements.txt

Way 2. Installing requests library.

pip install requests

Using

Launching program

python weather.py

Example

image

If you did everything according to the instructions, then there should be no problems. If there are still problems, pay attention to the console.

Acknowledgments

About

using wttr.in API to get weather report about some cities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages