easy-weather-paulit
v1.0.0
Published
This project provides a simple API for retrieving weather data for a given country using the OpenWeatherMap API.
Downloads
2
Readme
Weather API
This project provides a simple API for retrieving weather data for a given country using the OpenWeatherMap API.
Installation
To install the package, use npm:
Usage
To use the API, make a GET request to the /weather
endpoint with the city
parameter specifying the country name for which you want to retrieve weather data.
Example:
GET /weather?city=New%20York
Response:
{
"temperature": 25,
"humidity": 70,
"description": "Partly cloudy"
}
License
This project is licensed under the MIT License. See the LICENSE file for details.