PlanningPoker.Client 0.1.0

dotnet add package PlanningPoker.Client --version 0.1.0                
NuGet\Install-Package PlanningPoker.Client -Version 0.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="PlanningPoker.Client" Version="0.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PlanningPoker.Client --version 0.1.0                
#r "nuget: PlanningPoker.Client, 0.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 PlanningPoker.Client as a Cake Addin
#addin nuget:?package=PlanningPoker.Client&version=0.1.0

// Install PlanningPoker.Client as a Cake Tool
#tool nuget:?package=PlanningPoker.Client&version=0.1.0                

Planning Poker dotnet Client Library

See the planning poker site here

See the nuget pacakge

Build status

Coverage Status

Example Usage

Use AddPlanningPokerClient() method to add dependencies into DI container:

    var serviceProvider = new ServiceCollection()
        .AddOptions()
        .AddPlanningPokerClient()
        .BuildServiceProvider();

In order to make a connection, use PlanningConnectionFactory to create a new instace. Start the connection by calling the Start() method.

    var connectionFactor = serviceProvider.GetService<IPlanningConnectionFactory>();
    var connection = connectionFactor.NewConnection();

    //Set up handling for events on the connection:
    connection.OnSessionSuccesfullyCreated((sessionDetails) =>
    {
        Console.WriteLine($"SessionId: {sessionDetails.sessionId}");
        Console.WriteLine($"UserId: {sessionDetails.userId}");
    });
    connection.OnSessionCreationFailed(() =>
    {
        Console.WriteLine("Failed to create session");
    });

    try
    {
        await connection.Start(CancellationToken.None);

        await connection.CreateSession("Simon");
    }
    catch(InvalidOperationException ex)
    {
        //error creating session
    }

Adding settings:

  "PokerConnectionSettings": {
    "PlanningSocketUri": "wss://planningpokercore.sicarrington.com/core/ws",
    "PlanningApiUri": "https://planningpokerapi.sicarrington.com",
    "ApiKey": "12345"
}
There are no supported framework assets in this 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
0.1.0 70 7/28/2024
0.0.14 373 1/2/2023
0.0.13 314 1/1/2023
0.0.12 316 12/29/2022
0.0.11 298 12/28/2022
0.0.10 303 12/28/2022
0.0.9 373 12/27/2022 0.0.9 is deprecated because it has critical bugs.
0.0.8 841 9/19/2018
0.0.6 759 9/18/2018
0.0.5 775 9/8/2018
0.0.4 804 9/8/2018
0.0.3 873 8/1/2018
0.0.2 865 7/31/2018