/Weather-data-using-python

Extracting weather data using python.

Primary LanguagePython

Weather-data-using-python

Extracting weather data using python.

I have used Openweathermap to scrape accurate weather information.
Click here to create a free account in the website. You can find your personal API_KEY in there.
You need to paste your API_KEY in the code within the quotations.

You may hardcode your loaction if you want to!!

Location format: city_name,country_code

To make it more precise put your city's name, comma, 2-letter country code (ISO3166). You will get all proper cities in the chosen country.
The order is important - first city name then comma then country.
Example - London, GB or New York, US_.

Run the following command to install the required python package:

pip3 install urllib3