Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update API.py #542

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update API.py #542

wants to merge 2 commits into from

Conversation

StefaanBatsele
Copy link

Updated RecycleApp class for Belgian zip-codes and streets

Updated RecycleApp class for Belgian zip-codes and streets
removed old URL
@pippyn
Copy link
Owner

pippyn commented Dec 24, 2024

Why is this change needed? The current implementation of RecycleApp is working fine for all addresses I have to test with

@Emmanuel-Paulus
Copy link

There is problem with some postcode after the change of citys this year.
ex: 2150 Borsbeek become 2150 Antwerp and give now 2 postcode id's (old and new)
Simple change in API.PY row 1288 (last result instead of first)
jsonItems = response.json()['items']
self.postcode_id = jsonItems[len(jsonItems) - 1]['id']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants