I have a list of authors and I wanted to retrieve books information based on the name. However, I keep getting this error after a few successfully retrieved items.
429 Client Error: Too Many Requests for URL...
I have 20k quotes per day, and 100 per minute per user.
try:
key= "**********************************"
api = f'https://www.googleapis.com/books/v1/volumes?q={author}&key={key}'
response = requests.get(api)
response.raise_for_status()
print(response)
except requests.RequestException as e:
raise sys.exit(e)