From 26d2d6a070fd528dabd72f12e639304a12813f1b Mon Sep 17 00:00:00 2001 From: Wouter Claeys Date: Mon, 8 May 2023 16:18:54 +0200 Subject: [PATCH 1/3] Refs #217 --- crabpy/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crabpy/client.py b/crabpy/client.py index 28fdc9d..69057ce 100644 --- a/crabpy/client.py +++ b/crabpy/client.py @@ -98,7 +98,7 @@ def get_gemeenten(self, gemeentenaam=None, status=None): params["gemeentenaam"] = gemeentenaam if status is not None: params["status"] = status - return self._get_list("/v2/gemeenten", "gemeenten", params) + return self._get_list("/v2/gemeenten", "gemeenten", params=params) def get_postinfo(self, postinfo_id): return self._get(f"/v2/postinfo/{postinfo_id}") @@ -205,7 +205,7 @@ def get_percelen(self, status=None, adresObjectId=None): if status is not None: params["status"] = status if adresObjectId is not None: - params["adresOjbectId"] = adresObjectId + params["adresObjectId"] = adresObjectId return self._get_list("/v2/percelen", "percelen", params=params) def get_gebouw(self, gebouw_id): From 9bcd08dea843bae45485a1caf9550446526d2212 Mon Sep 17 00:00:00 2001 From: Wouter Claeys Date: Tue, 9 May 2023 07:23:22 +0200 Subject: [PATCH 2/3] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 08cff86..8f50041 100755 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ setup( name="crabpy", - version="1.2.1", + version="1.2.2", description="Interact with geographical webservices by Informatie Vlaanderen.", long_description=open("README.rst").read() + "\n\n" + open("CHANGES.rst").read(), author="Onroerend Erfgoed", From 99a05868d844bb55bf26458121250f6746c48f8e Mon Sep 17 00:00:00 2001 From: Wouter Claeys Date: Tue, 9 May 2023 07:23:54 +0200 Subject: [PATCH 3/3] Update CHANGES.rst --- CHANGES.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index d87e994..0a6caf6 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,8 @@ +1.2.2 (09-05-2023) +------------------ + +- get percelen timeout (#217) + 1.2.1 (04-05-2023) ------------------