Code Monkey home page Code Monkey logo

life_alert_bot's Introduction

Life_Alert_Bot

: 생활 정보 알림이. 코로나, 날씨, 뉴스와 같은 생활 정보들에 관한 데이터를 웹크롤링을 통해 추출한 후 출력하는 텔레그램 챗봇

텔레그램을 통해 봇이 제공하는 기능

  1. Covid-19 기능 : 코로나 바이러스 일일/평균/누적/도시별 확진자 수를 출력 + 코로나 방역 지침 출력
  2. 날씨 기능 : 전국의 날씨를 볼 수 있는 링크 연결, 사용자의 위치를 추적하여 날씨 출력
  3. 기온에 따라 추천하는 옷차림을 출력하는 기능
  4. 뉴스 기능 : 실시간으로 업데이트되는 뉴스 중 가장 최신의 뉴스를 확인 가능

챗봇을 실행하기 위한 환경 설정

token = os.environ.get('token',"이곳에 토큰을 넣어주세요")

id = 'chat_id'

챗봇과 연결하기

실행화면

  • 대화 리스트에 뜨는 챗봇

화면

  • 성공적인 실행시 자동으로 보내지는 메세지

main

  • 주어지는 기능이 아닌 다른 명령을 입력했을 때 나오는 화면

error

※아래 링크를 클릭해서 기능별 더 자세한 실행화면을 확인하세요.

Covid-19 기능 실행화면

날씨 기능 실행화면

추천 옷차림 실행화면

뉴스 기능 실행화면

개발할 때 참고한 사이트

코로나 일일, 평균 확진자

코로나 누적 확진자

날씨 정보

뉴스 정보

life_alert_bot's People

Contributors

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