We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea28c79 commit 8bbd2f1Copy full SHA for 8bbd2f1
consuming-apis-python/google_books.py
@@ -13,10 +13,12 @@
13
# The response will contain a list of books that match your query.
14
response = requests.get(endpoint, params=params).json()
15
for book in response["items"]:
16
- # In order to fetch the title, published date and description, you first need to fetch the volume.
+ # In order to fetch the title, published date and description,
17
+ # you first need to fetch the volume.
18
volume = book["volumeInfo"]
19
- # You can fetch these and other attributes from the book using the specific volume
20
+ # You can fetch these and other attributes from the book using
21
+ # the specific volume
22
title = volume["title"]
23
published = volume["publishedDate"]
24
description = volume["description"]
0 commit comments