This project is a Telegram bot that provides users with weather information for a given location.
Users can send a message with the name of a location to the bot and receive weather information for that location. The bot uses the OpenWeatherMap API to get weather data for the location. The bot responds with a message containing the temperature and weather description for the location in Celsius units.
Clone this repository to your local machine.
Install the required dependencies by running pip install -r requirements.txt.
Create a new Telegram bot by talking to the BotFather on Telegram and getting a bot token.
Create an account on OpenWeatherMap and get an API key.
Fill up your bot token and API key
Start the bot by running python main.py
To use the bot, send a message to the bot with the name of a location, such as "New York". The bot will respond with a message containing the temperature and weather description for the location in Celsius units.
Contributions to this project are welcome! If you find a bug or have a feature request, please open an issue. If you would like to contribute code, please fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.