Code Monkey home page Code Monkey logo

novgorodweatherbot's Introduction

NovgorodWeatherBot

Telegram Bot, which allows you get current weather and forecast for city Velikiy Novgorod, RUSSIA

http://telegram.me/NovgorodWeatherBot

Parsing current weather data from site Novgorod.ru (http://novgorod.ru/weather)

Getting forecast with Yandex.Weather and Weather.com API

Uses long-polling model (method getUpdates of Telegram Bot API)

##Run:

  • Get token Telegram Bot API and write it to data/token
  • Get token for botan.io (Yandex.Appmetrica) and write it to data/botan_token
  • Get token for Weather.com API and write it to data/weather_com_token
  • Run novgorod_weather_bot.py

NovgorodWeatherBot

Telegram Bot, который позволяет узнать текущую погоду в Великом Новгороде.

http://telegram.me/NovgorodWeatherBot

Парсит погоду с сайта Новгород.ру (http://novgorod.ru/weather)

Получает прогноз с Яндекс.Погоды и Weather.com API

Использует long-polling модель (метод getUpdates, для использования которого не нужен https сертификат, http://habrahabr.ru/post/262247/ пункт 7)

##Запуск:

  • Получите token Telegram Bot API и запишите его в файл data/token
  • Получите token для botan.io (Yandex.Appmetrica) и запишите его в файл data/botan_token
  • Получите token для Weather.com API и запишите его в файл data/weather_com_token
  • Запустите novgorod_weather_bot.py

novgorodweatherbot's People

Contributors

fut33v avatar

Stargazers

 avatar

Watchers

 avatar  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.