1.0.1 • Published 3 months ago

weather-api-cli-based v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 months ago

Weather CLI

Weather CLI

Overview

Weather CLI is a command-line interface application that fetches real-time weather data for a specified city using the OpenWeatherMap API.

Features

  • Real-time Weather Data: Get the latest temperature, humidity, and weather description.
  • User-Friendly CLI: Intuitive interface for a seamless experience.
  • Metric Units: Display temperature in Celsius and humidity in percentage.

Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/Engr-Jalal-Saleem/PIAIC-Quarter-1.git
    cd PIAIC-Quarter-1/Node%20Projects%20Quarter%201
  1. Install dependencies:

Usage

  1. Run the application:
  2. Enter the city when prompted and press Enter.
  3. View the current weather information for the specified city.

Configuration

  • Replace 'YOUR_OPENWEATHERMAP_API_KEY' in src/weatherCli.ts with your actual OpenWeatherMap API key.

Example

Troubleshooting

  • If you encounter issues, refer to the OpenWeatherMap FAQ.
  • Ensure your OpenWeatherMap API key is valid and correctly configured in the source code.

Contributing

Contributions are welcome! Open issues or submit pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments****