From 7935e8706a450073c07b032d79bb9a8fee682e2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20=C3=87olako=C4=9Flu?= Date: Thu, 4 Mar 2021 22:37:49 +0300 Subject: [PATCH] requirements --- README.md | 4 ++-- api/book.py | 3 +++ api/requirements.txt | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 api/requirements.txt diff --git a/README.md b/README.md index 5eb6d75..ffd4f38 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,6 @@ This project provides a badge for sharing your current book in your github profi

-It is heavily inspired by [https://github.com/novatorem/spotify-readme](spotify-readme). +It is heavily inspired by [spotify-readme](https://github.com/novatorem/spotify-readme). -Install instructions are available [https://github.com/thefr1nge/goodreads-readme/blob/master/SetUp.md](here). +Install instructions are available [here](https://github.com/thefr1nge/goodreads-readme/blob/master/SetUp.md). diff --git a/api/book.py b/api/book.py index a4c6be6..0d467c9 100644 --- a/api/book.py +++ b/api/book.py @@ -3,6 +3,9 @@ from base64 import b64encode import feedparser import re +from dotenv import load_dotenv, find_dotenv +load_dotenv(find_dotenv()) + import requests import json import os diff --git a/api/requirements.txt b/api/requirements.txt new file mode 100644 index 0000000..78ba009 --- /dev/null +++ b/api/requirements.txt @@ -0,0 +1,3 @@ +flask==1.1.2 +requests==2.24.0 +python-dotenv==0.14.0