Skip to content

sumenko/api_sp1_bot

Repository files navigation

Homework status checker telegram bot

Abstract

Working with Yandex.Praktikum API. Bot checks status of homework reviewing, rejected, approved and send a message to telegram chat if got one of them. The core library is python-telegram-bot

Install

  1. Install python 3.7 or later
  2. Install dependencies pip install -r requirements.txt
  3. Open telegram client and:
  • Use @BotFather to create new bot (command /newbot). You'll get token
  • Use @userinfobot and get user ID

Usage

Manual run

  1. Fill key-fields in .env file (use template)
  2. Run python homework.py Docker run Run do

API token here: https://oauth.yandex.ru/authorize?response_type=token&client_id=1d0b9dd4d652455a9eb710d450ff456a

<=== Yandex.Praktikum ===>

Sprint 8

Lesson at: Яндекс.Практикум (yandex.ru)

About

api sp1 bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published