Skip to content

This repository hosts the source code for WeatherBot, a Telegram bot that provides current weather information for cities worldwide. This bot uses the OpenWeatherMap API to fetch real-time weather data.

License

Notifications You must be signed in to change notification settings

rd9437/Telegram-MeteoMaster-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Telegram-MeteoMaster-Bot

http://t.me/meteomaster_bot

This repository hosts the source code for Meteo Master, a Telegram bot that provides current weather information for cities worldwide. This bot uses the OpenWeatherMap API to fetch real-time weather data.

How to Use

Setup

  1. Obtain a Telegram bot token from BotFather on Telegram.
  2. Obtain an API key from OpenWeatherMap.
  3. Clone or download this repository to your local machine.

Configuration

  1. Open the config.py file.
  2. Replace 'YOUR_TELEGRAM_BOT_TOKEN_HERE' with your Telegram bot token.
  3. Replace 'YOUR_OPENWEATHERMAP_API_KEY_HERE' with your OpenWeatherMap API key.
  4. Save the changes.

Deployment

  1. Ensure you have Python installed on your system.
  2. Install the required dependencies by running: 'pip install -r requirements.txt'
  3. Run the bot script by executing: 'mateomaster.py'
  4. Your bot should now be up and running!

Commands

  • /start: Start the bot and get a welcome message.
  • /weather <city>: Get the current weather of a specified city.
  • /help: Display information on how to use the bot and a list of available commands.
  • /about: Display information about the bot.

Features

  • Real-Time Weather Data: Access current weather conditions and forecasts for cities worldwide.
  • Easy-to-Use Interface: The bot provides an intuitive interface for users to fetch weather information effortlessly.
  • Customizable Settings: Users can specify the city to get weather updates tailored to their preferences.
  • Error Handling: The bot gracefully handles errors and provides informative messages to users.

Privacy and Security

  • No Data Storage: WeatherBot does not store any user data provided during the weather retrieval process. Your privacy is my priority.

Support

If you encounter any issues or have questions regarding WeatherBot, please don't hesitate to reach out to me for assistance.

Thank you for using Meteo Master! Stay informed about the weather wherever you are.

http://t.me/meteomaster_bot

About

This repository hosts the source code for WeatherBot, a Telegram bot that provides current weather information for cities worldwide. This bot uses the OpenWeatherMap API to fetch real-time weather data.

Topics

Resources

License

Stars

Watchers

Forks

Languages