SkyCastAPI is a Python-based project that provides real-time weather forecasts for various locations. It integrates with a Weather API to retrieve accurate weather data efficiently.
- Provides real-time weather forecasts.
- Displays country-specific temperature data.
- Offers brief weather descriptions.
- Python
- Weather API with API Key
-
Clone the repository:
https://github.com/Dishika18/SkyCastAPI.git
-
Navigate to the project directory:
cd skycastapi
-
Create a virtual environment:
python -m venv env
-
Obtain your API key from the Weather API provider.
-
Create a
.env
file in the project directory and add your API key:API_KEY=your_api_key_here
-
Run the application:
python main.py
-
Follow the on-screen prompts to get weather forecasts for your desired locations.
After running python main.py
, you will be prompted to enter a location. The application will then display the current weather, including temperature and a brief description.
If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes.
- Commit your changes:
git commit -m "Add your feature"
- Push to the branch:
git push origin feature/your-feature-name
- Open a pull request.