PlanningPoker.Client 0.0.9

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

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

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<PlanningConnectionFactory>();
    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":"https://sicarringtonplanningpokerapinew.azurewebsites.net/api",
        "PlanningApiUri":"wss://planningpokercore.azurewebsites.net/ws",
        "ApiKey":"12345"
}
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has 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.

Version Downloads Last updated
0.0.14 346 1/2/2023
0.0.13 291 1/1/2023
0.0.12 290 12/29/2022
0.0.11 269 12/28/2022
0.0.10 282 12/28/2022
0.0.9 350 12/27/2022
0.0.8 806 9/19/2018
0.0.6 727 9/18/2018
0.0.5 741 9/8/2018
0.0.4 771 9/8/2018
0.0.3 844 8/1/2018
0.0.2 836 7/31/2018