Skip to content

Weather telegram bot, for the entered city can show the weather: for today, tomorrow and three days ahead, after each forecast returns a voice message with the announced weather forecast (convenient when driving a car), a request with the name of the city is saved in the database.

Notifications You must be signed in to change notification settings

mikerockin/My_Weather_Bot

Repository files navigation

Telegram bot: @Mike_WeatherBot

Status of Last Deployment:

Weather telegram bot, for the entered city can show the weather: for today, tomorrow and three days ahead, after each forecast returns a voice message with the announced weather forecast (convenient when driving a car), a request with the name of the city is saved in the database.

Returns the following parameters:

  1. Weather conditions (snow, rain, cloudy, etc.)
  2. Air temperature.
  3. Wind speed.
  4. Atmospheric pressure.
  5. Humidity.
  6. Dawn.
  7. Sunset.
  8. Time zone.

Features:

  • Written on pure request queries using the weather service "OpenWeathermap";

  • Working on www.pythonanywhere.com, restarts via internal tasks pythonanywhere;

  • Deployment with Github Actions:

  • The application container is available on Docker Hub under the name: mikerockin1988/my-bot

    https://hub.docker.com/r/mikerockin1988/my-bot

    $ docker pull mikerockin1988/my-bot:1.0.0
    

    *After pulling the image, run the container with the command:

    $ docker run -d -e TELEGRAM_BOT_TOKEN=YOUR_TOKEN -e OPENWEATHERMAP_API_KEY=YOUR_APID mikerockin1988/my-bot:1.0.0
    
  • The application container is available on Container Registry ( Yandex Cloud ), access to the Docker image for authorized Yandex Cloud users who are members of the organization**

    $ docker pull cr.yandex/crpv85vhagh6a4tpo9mi/my-bot:1.0.0
    

About

Weather telegram bot, for the entered city can show the weather: for today, tomorrow and three days ahead, after each forecast returns a voice message with the announced weather forecast (convenient when driving a car), a request with the name of the city is saved in the database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published