Info
Version: | 1.0.0 |
Author(s): | LACHGAR Omar |
Last Update: | Thursday, February 28, 2019 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/PostalCodes.Fr |
Install
Install-Package PostalCodes.Fr
dotnet add package PostalCodes.Fr
paket add PostalCodes.Fr
PostalCodes.Fr Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
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/).