Hi! This is the bot in Telegram for showing weather information. Built with Node.js.
link to bot
I used to work with OpenWeatherMap API. It was in a projects with React and Django. Later I decided to make a bot that would show actual weather anywhere. My eye immediately fell on Telegram as it is a beautiful eco system with a good one API. I have chosen Python because I wanted to practice more with it.
Built with
-
/now city - get weather information in city.
-
/week city - get weather information in city for 7 days.
-
/lang lang_code - set language information in database for getting main weather info in native language
-
/set city - sets in database selected city.
-
/w - get weather information in city by language that you set in database for 3 days.
-
/location - get actual information in the city by geographical point.
- Clone this repository
git clone https://github.com/mezgoodle/weather-bot.git
- Use the package manager pip to install dependencies.
pip install -r requirements.txt
-
Fill the variables in
config.py
-
Type in terminal:
python bot.py
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Repositories and links which inspired me to build this project:
If you have questions write me here:
MIT © mezgoodle