Skip to content

Commit

Permalink
Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
remyvdwereld committed Nov 22, 2024
1 parent 2356678 commit 1f66991
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/utils/api_queries_bag.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
@retry(stop=stop_after_attempt(3), after=after_log(logger, logging.ERROR))
def do_bag_search_benkagg_by_id(identificatie):
"""
Search BAG by identificatie (nummeraanduiding_id)
Search BAG by identificatie (nummeraanduiding_id).
With benkagg you cannot search by bag_id (adresseerbaarobject_id).
You can use the parameters 'verblijfsobjectIdentificatie', 'ligplaatsIdentificatie' or 'standplaatsIdentificatie'
with a bag_id but then you need to know the type of object first (woonhuis, woonboot of woonwagen).
This is really annoying.
"""
address_search = requests.get(
settings.BAG_API_BENKAGG_SEARCH_URL,
Expand Down

0 comments on commit 1f66991

Please sign in to comment.