Welcome to the WeatherApp project! This simple application demonstrates how to work with APIs using Django. It serves as a great starting point for anyone looking to get familiar with Django and API integration. Python is one of the fastest-growing programming languages, and keeping up with its latest features is essential. This project aims to provide a basic understanding of how to use frameworks like Django.
Make sure you have Python installed on your machine. You'll also need to install Django and other dependencies.
-
Clone the repository:
git clone <repository-url>
-
Install the required packages:
- Using pip:
pip install Django
- Alternatively, you can install the packages via your IDE settings:
- Go to Settings -> Project: WeatherApp -> Python Interpreter
- Click on the
+icon and add the package
- Using pip:
-
Navigate to the project directory:
cd weatherapp -
Add your API keys in
settings.py: Open theweatherapp/settings.pyfile and add your API keys:# settings.py WEATHER_API_KEY = 'your_openweathermap_api_key_here' TIMEZONE_API_KEY = 'your_timezone_api_key'
-
Run the project:
python manage.py runserver
Once the server is running, open your browser and go to http://127.0.0.1:8000 to view the application.
Happy coding!

