Skip to content

Commit

Permalink
Merge pull request #220 from OnroerendErfgoed/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
claeyswo authored May 9, 2023
2 parents 54a279b + 99a0586 commit 20e22c9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
1.2.2 (09-05-2023)
------------------

- get percelen timeout (#217)

1.2.1 (04-05-2023)
------------------

Expand Down
4 changes: 2 additions & 2 deletions crabpy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 20e22c9

Please sign in to comment.