Hand2Note4Api 1.0.0
See the version list below for details.
dotnet add package Hand2Note4Api --version 1.0.0
NuGet\Install-Package Hand2Note4Api -Version 1.0.0
<PackageReference Include="Hand2Note4Api" Version="1.0.0" />
<PackageVersion Include="Hand2Note4Api" Version="1.0.0" />
<PackageReference Include="Hand2Note4Api" />
paket add Hand2Note4Api --version 1.0.0
#r "nuget: Hand2Note4Api, 1.0.0"
#:package Hand2Note4Api@1.0.0
#addin nuget:?package=Hand2Note4Api&version=1.0.0
#tool nuget:?package=Hand2Note4Api&version=1.0.0
Hand2Note API
Contains Hand2Note API for third party tools integration.
Hand2Note is an online poker HUD software at https://hand2note.com
Currently available on C#.
Installation
HUD integration
Use it if you need to show dynamic or static HUD in any window or you need to send a hand history to Hand2Note, process it and save it into the database.
This API is intended for third party converters on poker rooms unsupported by Hand2Note itself. This API should NOT be used to violate poker rooms' software restrictions especially on PokerStars and measures to maintain the complience will be taken by us.
General use cases:
using Hand2Note.Api;
//Notifies Hand2Note that the new hand has been started
Hand2Note.Send(new HandStartMessage(
windowId: 1,
gameNumber: 1,
userUsername: null,
table: new Table(
room: Rooms.PokerStars,
gameType: new PokerGameType(
pokerGame: PokerGames.TexasHoldem,
betLimits: BetLimits.NoLimit,
sessionType: SessionTypes.Cash),
stakes: new Stakes(smallBlind: 1, bigBlind: 2),
tableSize: 6,
currency: Currencies.Dollar),
players: ... //Fill ImmutableList<HandStartMessagePlayer>,
cashDrop: 0)
);
//Notifies Hand2Note that the street has been changed
Hand2Note.Send(
new DealMessage(
windowId: 1,
gameNumber: 1,
board: new Board(cards: "AcAhAd".ParseCards()),
bankRake: BankRake.Create(potRakes: PotMap<double>.Empty.With(potNumber: 1, value: 0.1)));
);
//Notifies Hand2Note that the action has been done
Hand2Note.Send(new ActionMessage(
windowId: 1,
seatNumber: 1,
gameNumber: 1,
actionType: ActionTypes.Raise,
amount: 2)
);
//Sends a "static" hand history to Hand2Note to update players' statistics.
//Please, note that the hand history should contain information about the original poker room it was played on.
//Hand2Note uses a prefix in the table name to detect the original room.
//Use Hand2Note.GetRoomDefiningTableName method to generate a table name with a correspondent room prefix.
Hand2Note.Send(new HandHistoryMessage(){...});
//Checks if Hand2Note is running
if (Hand2Note.IsHand2NoteRunning()){
...
}
//Use Activity monitor to know when Hand2Note client was started or closed
var activityMonitor = new ActivityMonitor();
activityMonitor.Hand2NoteStarted += Hand2NoteStartedHandler;
activityMonitor.Hand2NoteClosed += Hand2NoteClosedHandler;
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.