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 | number | ❌ | Searching by ISBN is the recommended method. You can enter 10- or 13-digit ISBNs. |
title | string | ❌ | You’ll need to enter the full title of the book. Spaces in the title will be converted into the characters %20. |
author | string | ❌ | 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
import { NytBooksSdk } from 'nyt-books';
(async () => {
const nytBooksSdk = new NytBooksSdk({});
const { data } = await nytBooksSdk.reviewsJson.getReviewsFormat({
isbn: 1,
title: 'title',
author: 'author',
});
console.log(data);
})();
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs