As of today, a GET https://geo.api.gouv.fr/communes?codePostal=75015 is returning:
[{"nom":"Paris","code":"75056","codeDepartement":"75","codeRegion":"11","codesPostaux":["75001","75002","75003","75004","75005","75006","75007","75008","75009","75010","75011","75012","75013","75014","75015","75016","75017","75018","75019","75020"],"population":2190327},{"nom":"Issy-les-Moulineaux","code":"92040","codeDepartement":"92","codeRegion":"11","codesPostaux":["92130","75015"],"population":68395}]
The city "Issy-les-Moulineaux" is part of the ouput. my understanding is that the API is meant to return only the corresponding town names that matches the pattern, but 92040 si a little far from the original input.
thanks in advance for your feedback.
As of today, a
GET https://geo.api.gouv.fr/communes?codePostal=75015
is returning:[{"nom":"Paris","code":"75056","codeDepartement":"75","codeRegion":"11","codesPostaux":["75001","75002","75003","75004","75005","75006","75007","75008","75009","75010","75011","75012","75013","75014","75015","75016","75017","75018","75019","75020"],"population":2190327},{"nom":"Issy-les-Moulineaux","code":"92040","codeDepartement":"92","codeRegion":"11","codesPostaux":["92130","75015"],"population":68395}]
The city "Issy-les-Moulineaux" is part of the ouput. my understanding is that the API is meant to return only the corresponding town names that matches the pattern, but 92040 si a little far from the original input. thanks in advance for your feedback.