Giter Club home page Giter Club logo

weather-bot's Introduction

Weather bot

Hi! This is the bot in Telegram for showing weather information. Built with Node.js.

link to bot

Motivation

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.

Screenshots

Screenshot 1

Screenshot 2

Screenshot 3

Screenshot 8

Screenshot 4

Screenshot 6

Screenshot 7

Tech framework used

Built with

Features

  • /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.

Installation

  1. Clone this repository
git clone https://github.com/mezgoodle/weather-bot.git
  1. Use the package manager pip to install dependencies.
pip install -r requirements.txt
  1. Fill the variables in config.py

  2. Type in terminal:

python bot.py

Contribute

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Credits

Repositories and links which inspired me to build this project:

Contact

If you have questions write me here:

License

GitHub

MIT © mezgoodle

weather-bot's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar imgbotapp avatar mezgoodle avatar

Stargazers

 avatar

Forkers

skueletortlg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.