Use the reviews() method to fetch a page of reviews for a specific application.
Note on Volume: To get all reviews at once, set num to a high value (e.g., 5000). For paginated results (150 per page), set paginate: true.
Options:
appId (required): Unique application ID.lang (optional): Two-letter language code. Defaults to 'en'.country (optional): Two-letter country code. Defaults to 'us'.sort (optional): Sorting method. Use gplay.sort.NEWEST, gplay.sort.RATING, or gplay.sort.HELPFULNESS. Defaults to gplay.sort.NEWEST.num (optional): Quantity of reviews. Defaults to 100. If paginate is true, this parameter is ignored.paginate (optional): If true, returns a paginated response. Defaults to false.nextPaginationToken (optional): The token used to fetch the next page. Defaults to null.
import gplay from "google-play-scraper";
// Single call for many reviews
gplay.reviews({
appId: 'com.dxco.pandavszombies',
sort: gplay.sort.RATING,
num: 3000
}).then(console.log, console.log);
// Paginated request (first page)
gplay.reviews({
appId: 'com.dxco.pandavszombies',
sort: gplay.sort.RATING,
paginate: true,
nextPaginationToken: null
}).then(console.log, console.log);