You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RecycleApp implementation for Belgium only works when a city doesn't have multiple streets with a name containing the name entered in the settings. For example the request https://api.fostplus.be/recycle-public/app/v1/streets?q=Bosstraat&zipcodes=9820-44043 returns 3 streets: "Bosstraat", "Bergbosstraat" and "Kwenenbosstraat".
As a result, for a lot of cities in Belgium the RecycleApp implementation doesn't work.
Do you have more information on the available endpoints on the API or the ways the query can be changed to be equals instead of contains?
The text was updated successfully, but these errors were encountered:
Hm, is is quite a crappy API to implement. Because it is indeed based on all kind of in between selections. Currently the app has no way of determining this and it will also take quite a lot of time to implement this in a proper way. I will leave this ticket open, maybe there is some other dev out there in Belgium that has time to implement this in the app.
There you can see that the current implementation is based on single responses, but as you stated, probably quite a few locations won't work due to double postal codes and streets.
The RecycleApp implementation for Belgium only works when a city doesn't have multiple streets with a name containing the name entered in the settings. For example the request https://api.fostplus.be/recycle-public/app/v1/streets?q=Bosstraat&zipcodes=9820-44043 returns 3 streets: "Bosstraat", "Bergbosstraat" and "Kwenenbosstraat".
As a result, for a lot of cities in Belgium the RecycleApp implementation doesn't work.
Do you have more information on the available endpoints on the API or the ways the query can be changed to be equals instead of contains?
The text was updated successfully, but these errors were encountered: