joao2391 / DotNetBNDES

This lib helps you to get infos about BNDES card. This is not the official lib from BNDES!

Home Page:https://www.nuget.org/packages/DotNetBNDES

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DotNetBNDES Nuget Nuget

DotNet.BNDES is a .Net library that helps you to get infos about BNDES card. This is not the official lib from BNDES!

Notes

Version 1.0.1:

  • Upgrade to .NET 6

Installation

Use the package manager to install.

Install-Package DotNetBNDES  -Version 1.0.1

Usage

services.<ChooseYours><IHttpClientWrapper, HttpClientWrapper>();
services.<ChooseYours><IBancos, Bancos>();
services.<ChooseYours><ICartao, Cartao>();

Features - Bancos Credenciados

var bancosCredenciados = await GetBancosCredenciadosAsync();
// bancosCredenciados[0].Nome -> BANCO SANTANDER (BRASIL) S.A.

Features - Fornecedores e Produtos

var fornecedores = await GetFornecedoresByNameAsync("Zezinho", 1);
// fornecedores[0].NomeFantasia -> Zezinho
// fornecedores[0].NomePessoa -> Zezinho
// fornecedores[0].TotalRegistros -> 9
// fornecedores[0].UltimaPaginaGrupo -> 1

var fornecedoresByNomeProduto = await GetFornecedoresByNomeProdutoAsync("cimento", 1);
// fornecedoresByNomeProduto[0].NomeFantasia -> Zezinho
// fornecedoresByNomeProduto[0].NomePessoa -> Zezinho
// fornecedoresByNomeProduto[0].TotalRegistros -> 9
// fornecedoresByNomeProduto[0].UltimaPaginaGrupo -> 1

var produtos = await GetProdutosByNameAsync("cimento");
// produtos.PaginaAtual -> 1
// produtos.Produtos[0].NomeFabricante -> TesteFabricante
// produtos.Produtos[0].NomeProduto -> TesteProduto
// produtos.QuantidadePaginas -> 1
// produtos.QuantidadeProdutos -> 1

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

About

This lib helps you to get infos about BNDES card. This is not the official lib from BNDES!

https://www.nuget.org/packages/DotNetBNDES


Languages

Language:HTML 94.8%Language:C# 5.2%