ReviewsJsonService
A list of all methods in the ReviewsJsonService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_reviews_format | Get book reviews. |
get_reviews_format
Get book reviews.
- HTTP Method:
GET
- Endpoint:
/reviews.json
Parameters
Name | Type | Required | Description |
---|---|---|---|
isbn | int | ❌ | Searching by ISBN is the recommended method. You can enter 10- or 13-digit ISBNs. |
title | str | ❌ | You’ll need to enter the full title of the book. Spaces in the title will be converted into the characters %20. |
author | str | ❌ | You’ll need to enter the author’s first and last name, separated by a space. This space will be converted into the characters %20. |
Return Type
GetReviewsFormatOkResponse
Example Usage Code Snippet
from nyt_books_sdk import NytBooksSdk, Environment
sdk = NytBooksSdk(
api_key="",
base_url=Environment.DEFAULT.value
)
result = sdk.reviews_json.get_reviews_format(
isbn=6,
title="title",
author="author"
)
print(result)
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs