From 7d9f52288ff4c038d238e5969a7f571861faabaa Mon Sep 17 00:00:00 2001 From: RaymonDev <40960636+RaymonDev@users.noreply.github.com> Date: Sun, 28 Feb 2021 00:47:14 -0700 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 926acf1..857db78 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,18 @@ # StarBot StarBot is a sample bot for Telegram which makes use of the GitHub API to fetch data. This project was written as part of [Google Code-in](https://codein.withgoogle.com/). -## Usage +### Usage Message the bot with the name of a repository located under the user or organisation of the request URL. The bot will reply with the number of Stars held by that repository. - You can use [BotFather](https://telegram.me/BotFather) to generate a token for Telegram. - - Place the token and GitHub request URL in a .env file. A sample is provided via `.env.sample`. \ No newline at end of file + - Place the token and GitHub request URL in a .env file. A sample is provided via `.env.sample`. + + ### Requisites: + - Decouple python +``` +pip install python-decouple +``` +- Python Telegram Library (https://github.com/python-telegram-bot/python-telegram-bot) +``` +pip install python-telegram-bot --upgrade +```