AliceBlueAutoLogin.NetCore
1.1.3
This is a Test deployment
dotnet add package AliceBlueAutoLogin.NetCore --version 1.1.3
NuGet\Install-Package AliceBlueAutoLogin.NetCore -Version 1.1.3
<PackageReference Include="AliceBlueAutoLogin.NetCore" Version="1.1.3" />
<PackageVersion Include="AliceBlueAutoLogin.NetCore" Version="1.1.3" />
<PackageReference Include="AliceBlueAutoLogin.NetCore" />
paket add AliceBlueAutoLogin.NetCore --version 1.1.3
#r "nuget: AliceBlueAutoLogin.NetCore, 1.1.3"
#:package AliceBlueAutoLogin.NetCore@1.1.3
#addin nuget:?package=AliceBlueAutoLogin.NetCore&version=1.1.3
#tool nuget:?package=AliceBlueAutoLogin.NetCore&version=1.1.3
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 | Versions 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. |
-
net9.0
- Microsoft.Playwright (>= 1.49.0)
- Otp.NET (>= 1.4.0)
- RestSharp (>= 112.1.0)
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 |
|---|