From dfa18664fea2f1b4237d571a00a731c262cf603b Mon Sep 17 00:00:00 2001 From: piotrostr Date: Sun, 27 Aug 2023 18:22:07 +0200 Subject: [PATCH] fix: ammend deprecated syntax (`pagesize` into `page_size`) --- googlemaps/places.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googlemaps/places.py b/googlemaps/places.py index 269a17fa..f6d8cca7 100644 --- a/googlemaps/places.py +++ b/googlemaps/places.py @@ -419,7 +419,7 @@ def _places( if region: params["region"] = region if page_token: - params["pagetoken"] = page_token + params["page_token"] = page_token url = "/maps/api/place/%ssearch/json" % url_part return client._request(url, params)