Skip to content

alexmaris/simplezipcode

Repository files navigation

simplezipcode

Simple US Zip Code collection for .NET with a light in memory zip code data store, all under 3MB.

To get started use the instance API:

// This is the zip code repo builder, you'll need only one instance per app
var zipCodes = ZipCodeSource.FromMemory().GetRepository();

var chicagoMagnificientMileZipCode = zipCodes.Get("60611");

Search US Zip Codes

By zip code property:

var illinoisZipCodes = zipCodes.Search(x => x.State == "Illinois");

By zip code postal code:

var magnificentMile = zipCodes.Get("60611");

By radius of an existing zip code (in miles)

var zipCodesNearTheLoop = zipCodes.RadiusSearch(chicagoLoop, 5);

About

Simple US Zip Codes collection for .NET

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages