Canducci.HubDev
1.0.4.2
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
.NET Framework 4.7
This package targets .NET Framework 4.7. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Canducci.HubDev --version 1.0.4.2
NuGet\Install-Package Canducci.HubDev -Version 1.0.4.2
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="Canducci.HubDev" Version="1.0.4.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Canducci.HubDev" Version="1.0.4.2" />
<PackageReference Include="Canducci.HubDev" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Canducci.HubDev --version 1.0.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Canducci.HubDev, 1.0.4.2"
#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.
#:package Canducci.HubDev@1.0.4.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Canducci.HubDev&version=1.0.4.2
#tool nuget:?package=Canducci.HubDev&version=1.0.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Canducci HubDev
Pacote .NET para integraçao com a API do site: https://www.hubdodesenvolvedor.com.br
Instalação do Pacote
dotnet add package Canducci.HubDev
Utilização do Pacote
// Substitua pelo seu token de autenticão"
string token = "seu token aqui";
HubDev hubDev = new HubDev(token);
1. Para utilizar ZipSearch
ou Busca de Cep, pode fazer o seguinte:
ZipSearch zipSearch = new ZipSearch(hubDev);
// Substitua pelo CEP desejado
// Sem async
ZipResponse result = zipSearch.Get("01001000");
// Com async
ZipResponse result = await zipSearch.GetAsync("01001000");
Resposta: ZipResponse
bool Status //status da requisição
string ReturnMessage //Mensagem de retorno
int Consumed //Quantidade de requisições consumidas
ZipResponse Result //Resultado da busca de CEP
Explicando ZipResponse
:
// cep
string Zip
// logradouro
string Street
// complemento
string Complement
// bairro
string Neighborhood
// localidade
string City
// uf
string State
// unidade
string Unit
// ibge
string IbgeCode
// gia
string GiaCode
2. Para utilizar CpfSearch
ou Busca de Cpf, pode fazer o seguinte:
CpfSearch cpfSearch = new CpfSearch(hubDev);
// Substitua pelo Cpf desejado e Data de Nascimento
// Sem async
CpfResponse result = cpfSearch.Get("12345678900", new DateTime(1990, 1, 1));
// Com async
CpfResponse result = await cpfSearch.GetAsync("12345678900", new DateTime(1990, 1, 1));
Resposta: CpfResponse
bool Status //status da requisição
string ReturnMessage //Mensagem de retorno
int Consumed //Quantidade de requisições consumidas
CpfResponse Result //Resultado da busca de CPF
Explicando CpfResponse
:
// numero_de_cpf
string CpfNumber
// nome_da_pf
string FullName
// data_nascimento
string DateOfBirth
// situacao_cadastral
string RegistrationStatus
// data_inscricao
string RegistrationDate
// digito_verificador
string CheckDigit
// comprovante_emitido
string ProofCode
// comprovante_emitido_data
string ProofTimestamp
3. Para utilizar CnpjSearch
ou Busca de Cnpj, pode fazer o seguinte:
CnpjSearch cnpjSearch = new CnpjSearch(hubDev);
// Substitua pelo Cnpj desejado e true/false para incluir ou não I.E.
// Sem async
CnpjResponse result = cnpjSearch.Get("00776574000156", true);
// Com async
CnpjResponse result = await cnpjSearch.GetAsync("00776574000156", true);
Resposta: CnpjResponse
bool Status //status da requisição
string ReturnMessage //Mensagem de retorno
int Consumed //Quantidade de requisições consumidas
CnpjResponse Result //Resultado da busca de CNPJ
Explicando CnpjResponse
:
// numero_de_inscricao
string RegistrationNumber
// tipo
string Type
// abertura
string OpeningDate
// nome
string LegalName
// fantasia
string TradeName
// porte
string CompanySize
// atividade_principal
ActivityItem MainActivity
// atividades_secundarias
List<ActivityItem> SecondaryActivities = new List<ActivityItem>()
// natureza_juridica
string LegalNature
// logradouro
string Street
// numero
string Number
// complemento
string Complement
// cep
string PostalCode
// bairro
string Neighborhood
// municipio
string City
// uf
string State
// email
string Email
// telefone
string Phone
// entidade_federativo_responsavel
string FederalEntityResponsible
// situacao
string Status
// dt_situacao_cadastral
string RegistrationStatusDate
// motivo_situacao_cadastral
string RegistrationStatusReason
// situacao_especial
string SpecialStatus
// data_situacao_especial
string SpecialStatusDate
// capital_social
string ShareCapital
// quadro_socios
List<string> Partners = new List<string>()
// quadro_de_socios
List<PartnerDetailItem> PartnerDetails = new List<PartnerDetailItem>()
// inscricoes_estaduais
StateRegistrationItem StateRegistrations
4. Para utilizar BalanceSearch
ou Busca de Saldo do sua Conta_, pode fazer o seguinte:
BalanceSearch balanceSearch = new BalanceSearch(hubDev);
// Sem async
BalanceResponse result = balanceSearch.Get();
// Com async
BalanceResponse result = await balanceSearch.GetAsync();
Resposta: BalanceResponse
bool Status //status da requisição
string ReturnMessage //Mensagem de retorno
int Consumed //Quantidade de requisições consumidas
BalanceResponse Result //Resultado da busca do saldo
Explicando BalanceResponse
:
// servidor_exclusivo
string ExclusiveServer
// token
string Token
// id
string Id
// saldo R$ 0,00
string Saldo
// status
string Ativo
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 is compatible. net471 was computed. net472 is compatible. net48 is compatible. net481 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.7
- Newtonsoft.Json (>= 13.0.3)
-
.NETFramework 4.7.2
- Newtonsoft.Json (>= 13.0.3)
-
.NETFramework 4.8
- Newtonsoft.Json (>= 13.0.3)
-
.NETFramework 4.8.1
- Newtonsoft.Json (>= 13.0.3)
-
.NETStandard 2.0
- Newtonsoft.Json (>= 13.0.3)
-
.NETStandard 2.1
- Newtonsoft.Json (>= 13.0.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Canducci.HubDev:
Package | Downloads |
---|---|
Canducci.HubDev.Web
Canducci HubDev Web |
GitHub repositories
This package is not used by any popular GitHub repositories.