AliceBlueAutoLogin.NetCore 1.1.3

Additional Details

This is a Test deployment

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package AliceBlueAutoLogin.NetCore --version 1.1.3
                    
NuGet\Install-Package AliceBlueAutoLogin.NetCore -Version 1.1.3
                    
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="AliceBlueAutoLogin.NetCore" Version="1.1.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AliceBlueAutoLogin.NetCore" Version="1.1.3" />
                    
Directory.Packages.props
<PackageReference Include="AliceBlueAutoLogin.NetCore" />
                    
Project file
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 AliceBlueAutoLogin.NetCore --version 1.1.3
                    
#r "nuget: AliceBlueAutoLogin.NetCore, 1.1.3"
                    
#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 AliceBlueAutoLogin.NetCore@1.1.3
                    
#: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=AliceBlueAutoLogin.NetCore&version=1.1.3
                    
Install as a Cake Addin
#tool nuget:?package=AliceBlueAutoLogin.NetCore&version=1.1.3
                    
Install as a Cake Tool

Version 1.1.3

  • Simplified the namespace for using statement.

Version 1.1.2

Feature added:

  • Added support for 2FA TOTP key for Aliceblue login.
  • Now response will contain the access token which can be used to make further requests to the Aliceblue api.

You can use this library to automate the Aliceblue login by setting up TOTP in your Aliceblue account.

Use HEADLESS flag to hide the browser window, set it to true to hide the browser window, set it to false to display the browser window and see what's happening.

Example usage:

/// <param name="AliceBlueUserid">The user ID for AliceBlue.</param>
/// <param name="AliceBluePassword">The password for AliceBlue.</param>
/// <param name="TwoFASecretKey">The 2FA secret key.</param>
/// <param name="ApiKey">The API key.</param>
/// <param name="HeadLess">Flag to hide browser window, true to hide, false to display.</param>

AliceBlueAutoLogin aliceBlueAutoLogin = new AliceBlueAutoLogin("AliceBlue UserId", "AliceBlue Password", "AliceBlue 2FA TOTP Key", "Api Key", true/false);
var result = await aliceBlueAutoLogin.Login();
Console.WriteLine(JsonSerializer.Serialize(result));

Response:

{
"StatusCode":"OK/ERROR",
"ResultMsg":"Error msg/Success msg",
"Token":"xxxx"
}

The above code will return the access token along with status code and result message which can be used to make further requests to the Aliceblue api.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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. 
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