DotNetAgenciasCorreios 1.0.0

Install-Package DotNetAgenciasCorreios -Version 1.0.0
dotnet add package DotNetAgenciasCorreios --version 1.0.0
<PackageReference Include="DotNetAgenciasCorreios" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetAgenciasCorreios --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DotNetAgenciasCorreios, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install DotNetAgenciasCorreios as a Cake Addin
#addin nuget:?package=DotNetAgenciasCorreios&version=1.0.0

// Install DotNetAgenciasCorreios as a Cake Tool
#tool nuget:?package=DotNetAgenciasCorreios&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

DotNet.Agencias.Correios is a .Net library that helps you to get brazilian's mail agency.

Notes

Version 1.0.0:

  • BETA

Installation

Use the package manager to install.

Install-Package DotNetAgenciasCorreios  -Version 1.0.0

Usage

services.<ChooseYours><IHttpClientWrapper, HttpClientWrapper>();
services.<ChooseYours><IAgenciasCorreios, AgenciasCorreios>();

Features

You will get an object with an object's array with Nome, CEP, Endereço and Situação

var agencias = GetAgenciasAsync();
// agencias.Agencia[0].Nome -> AC CENTRAL DE SAO PAULO
// agencias.Agencia[0].CEP -> 01031-959
// agencias.Agencia[0].Endereco -> PRACA DO CORREIO, SN
// agencias.Agencia[0].Situacao -> FECHADA - Abre Segunda às 10:00

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

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.0.0 115 10/23/2021

Beta version