diff --git a/fetch.py b/fetch.py index 8e47709..54363d5 100644 --- a/fetch.py +++ b/fetch.py @@ -1,3 +1,8 @@ import requests -def fetchQuote() +def fetchQuote(quoteId): + quote = requests.get("https://quotes.everypizza.im/image/" + quoteId) + if response.status_code == 200: + return response.content + else: + return None