DotNetCEPSearch 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package DotNetCEPSearch --version 1.1.0                
NuGet\Install-Package DotNetCEPSearch -Version 1.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DotNetCEPSearch" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetCEPSearch --version 1.1.0                
#r "nuget: DotNetCEPSearch, 1.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DotNetCEPSearch as a Cake Addin
#addin nuget:?package=DotNetCEPSearch&version=1.1.0

// Install DotNetCEPSearch as a Cake Tool
#tool nuget:?package=DotNetCEPSearch&version=1.1.0                

It is a .NET Standard library that helps you to get a CEP or Address from brazilian's postal service. You can use both in .NET Framework 4.x and .NET Core 2.x applications.

Notes

Version 1.1.0:

  • Migrated to dotnet 5
  • Changed return's type

Installation

Use the package manager to install.

Install-Package DotNetCEPSearch -Version 1.1.0

Usage

After install:

using DotNet.CEP.Search.App;

Get Addres by CEP

CepSearch cep = new CepSearch();
// Returns an object's array with 
//Rua, Bairro, Cidade, Cep, Uf
var addressAsync = await cep.GetAddressByCepAsync("CEP");

var address = GetAddressByCep("CEP");

Get CEP by Address

CepSearch cep = new CepSearch();
// Returns an object's array with 
//Rua, Bairro, Cidade, Cep, Uf
var cepAsync = await cep.GetCepByAddressAsync("address");

var cep = cep.GetCepByAddress("address");

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.2 133 8/22/2024
1.2.1 124 8/22/2024
1.2.0 122 8/18/2024
1.1.1 832 4/20/2022
1.1.0 380 10/9/2021
1.0.2 361 7/18/2021
1.0.1 532 4/24/2020
1.0.0 485 4/23/2020