How to use the google-play-scraper.sort function in google-play-scraper

To help you get started, we’ve selected a few google-play-scraper examples, based on popular ways it is used in public projects.

github novoda / spikes / slacker / server / reviews.js View on Github external
function reviews() {
  var app = APPS[currentIndex];
  incrementIndex(APPS.length);

  var request = gplay.reviews({
    appId: app.package,
    page: 0,
    sort: gplay.sort.NEWEST
  });
  return request.then(toRuleResult(app));
}