import requests

url = "https://motivational-quotes1.p.rapidapi.com/motivation"

payload = {
	"key1": "value",
	"key2": "value"
}
headers = {
	"content-type": "application/json",
	"X-RapidAPI-Key": "eac34bd148msh7c583e2672043f9p173fe7jsn8f992f4e7662",
	"X-RapidAPI-Host": "motivational-quotes1.p.rapidapi.com"
}

response = requests.request("POST", url, json=payload, headers=headers)

print(response.text)
rating =int(input("Rate the quote on a scale of 1-10"))
if rating <= 10 and rating >= 1:
	print("You gave this quote a rating of", rating, "out of 10")
else:
	print("Have a rating between 1-10")
"Spring is a time for rebirth and the fulfilment of new life."
-Byron Pulsifer
You gave this quote a rating of 6 out of 10