DotNetRankingBacen 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package DotNetRankingBacen --version 1.1.0                
NuGet\Install-Package DotNetRankingBacen -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="DotNetRankingBacen" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetRankingBacen --version 1.1.0                
#r "nuget: DotNetRankingBacen, 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 DotNetRankingBacen as a Cake Addin
#addin nuget:?package=DotNetRankingBacen&version=1.1.0

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

DotNetRankingBacen is a .Net library that helps you to get all informations from claim's list of BACEN (current quarter).

Notes

Version 1.1.0:

  • Added features to get all information from claim's list of BACEN.

Installation

Use the package manager to install.

Install-Package DotNetRankingBacen  -Version 1.1.0

Usage - Without Selenium

services.<ChooseYours><IHttpClientWrapper, HttpClientWrapper>();
services.<ChooseYours><IRankingBacen, RankingBacen>();

Features

You will get an object with an object's array of size 03

var bancosFinanceiras = GetTop03BancosEFinanceirasAsync();
var demaisBancosFinancerias = GetTop03DemaisBancosEFinanceirasAsync();
var reclamacoes = GetTop03ReclamacoesAsync();
var administradorasConsorcio = GetTop03AdmConsorcioAsync();

Usage - With Selenium

Download chromedriver.exe (version 94 or higher) from official website.

After downloaded it, extract the exe to any directory.

Features

There's a constructor with those parameters:

public RankingBacen(string chromeDriverPath, ChromeOptions driverOptions, int timeToSleep) { ... }

You must fill up all parameters to use all features below: (Check how to use ChromeOptions: https://chromedriver.chromium.org/capabilities)


 var chromeDriverPath = @"path/to/chromedriver.exe";

 var chromeOptions = new ChromeOptions();
     chromeOptions.AddArgument("--headless"); //execute the chromedriver without open the browser

var timeToSleep = 2000; // time in ms to wait the page be loaded

var rankingBacen = new RankingBacen(chromeDriverPath, chromeOptions, timeToSleep);

var top10BancosEFinanceiras = rankingBacen.GetTop10BancosEFinanceiras(); // it returns the full list of Bancos e Financeiras from BACEN

var demaisBancosEFinanceiras = rankingBacen.GetDemaisBancosEFinanceiras(); // it returns the full list of Demais Bancos e Financeiras from BACEN

var todasReclamacoes = rankingBacen.GetTodasReclamacoes(); // it returns the full list of Reclamacoes from BACEN

var todasAdmnistradorasConsorcio = rankingBacen.GetTodasAdmsConsorcio(); // it returns the full list of Administradoras de Consorcio from BACEN

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.1.1 491 4/20/2022
1.1.0 356 10/20/2021
1.0.0 355 9/30/2021

Beta version