PostalCodes.Fr 1.0.0

Provide postal codes (about 40000) for France (metropolis and DOM), those of the TOM, as well as MONACO.

Data :
- Name of the municipality
- Postal code

Methods :
- GetLocation (Takes a string as postal code and return a string as municipality name, or "NoN" if no match found)
- GetPostalCode (Takes a string as municipality name and return a string as postal code, or "NoN" if no match found)
- GetAllLocation (Takes a string as postal code and return a list of strings as municipalities names, or an empty list if no match found)
- GetAllPostalCodes(Takes a string as municipality name and return a list of strings as postal codes, or an empty list if no match found)

GetAllLocation & GetAllPostalCodes Supports a "start with" requery
Data provided by INSEE (https://www.data.gouv.fr/fr/datasets/base-officielle-des-codes-postaux/)
Data provided by INSEE (https://www.data.gouv.fr/fr/datasets/base-officielle-des-codes-postaux/)

Install-Package PostalCodes.Fr -Version 1.0.0
dotnet add package PostalCodes.Fr --version 1.0.0
<PackageReference Include="PostalCodes.Fr" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PostalCodes.Fr --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

  • .NETStandard 2.0

    • No dependencies.

Version History

Version Downloads Last updated
1.0.0 71 2/28/2019