Skip to content

Commit

Permalink
add lastPaginationId
Browse files Browse the repository at this point in the history
  • Loading branch information
vs committed May 8, 2024
1 parent b054efa commit 71547b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class Outscraper {
return response['data'];
}

async googleMapsReviews(query, reviewsLimit = 10, limit = 1, sort = 'most_relevant', skip = 0, start = null, cutoff = null, cutoffRating = null, ignoreEmpty = false, language = 'en', region = null, reviewsQuery = null) {
async googleMapsReviews(query, reviewsLimit = 10, limit = 1, sort = 'most_relevant', skip = 0, start = null, cutoff = null, cutoffRating = null, ignoreEmpty = false, language = 'en', region = null, reviewsQuery = null, lastPaginationId = null) {
const response = await this.getAPIRequest('/maps/reviews-v3', {
query: toArray(query),
reviewsLimit,
Expand All @@ -83,6 +83,7 @@ class Outscraper {
reviewsQuery,
cutoffRating,
ignoreEmpty,
lastPaginationId,
language,
region,
async: false,
Expand Down

0 comments on commit 71547b9

Please sign in to comment.