Coder Social home page Coder Social logo

telegram-weather-bot's Introduction

Telegram Weather Bot

This Telegram Bot takes user's location as text or GPS coordinates and then informs about its current weather-cast.

Weather information is supplied by OpenWeatherMap.

Bot sends current temperature as well as minimum and maximum expectations. It adds description of the weather with reflecting emoji. ☀️ ☔ ⛄

This project is prepared to be deployed Google App Engine and works with Webhooks.


Details

main.py => Fethces the user input and calls the related functions inputModel.py => To parse the user input which is JSON format responseController.py => For text and GPS coordinates inputs, it makes the Openweathermap API calls and prepares response messages to the users

Installing at Google App Engine instructions

Thanks yukuku for the basic project.


TODO

  1. Fit Openweathermap API response to a model
  2. Create Database for Daily/Hourly Notifications and related settings

Screenshots

Bot start screen


telegram @weathercast_bot start screen


Input location as text or GPS coordinates


bot text or gps input


Bot options


bot options


Error when city not found


404-city not found

telegram-weather-bot's People

Contributors

mustafababil avatar

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.