Skip to content

drovosekovanton/ForecaWeather_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple parsing bot for Foreca weather. Current day, next day, ten-days forecast. Just one city, for personal use only.

Create python virtual environment with all prerequisites. Put token for your bot to custom_token.py (that must lay alongside bot.py) like this:

TOKEN='yor_own_token'

Edit the next url paths for desired location in bot.py:

THIS_DAY_URL NEXT_DAY_URL TEN_DAY_URL

Edit paths in forecaweather-bot.service and put it in /usr/lib/systemd/system/ (in Ubuntu distros).

Then:

  • systemctl enable forecaweather-bot
  • systemctl start forecaweather-bot

Optionally use

  • systemctl status forecaweather-bot
  • systemctl restart forecaweather-bot
  • systemctl stop forecaweather-bot

The python script is hardcoded to russian but i think you can handle it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages