Alexa.NET.ListManagement 1.1.0

Install-Package Alexa.NET.ListManagement -Version 1.1.0
dotnet add package Alexa.NET.ListManagement --version 1.1.0
<PackageReference Include="Alexa.NET.ListManagement" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Alexa.NET.ListManagement --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Alexa.NET.ListManagement, 1.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Alexa.NET.ListManagement as a Cake Addin
#addin nuget:?package=Alexa.NET.ListManagement&version=1.1.0

// Install Alexa.NET.ListManagement as a Cake Tool
#tool nuget:?package=Alexa.NET.ListManagement&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Alexa.NET.ListManagement

A simple .NET Core library for handling lists within Alexa skills

Before you start make sure you have An Alexa Skill with appropriate permissions (if you're unsure of how to do this - the docs are here)

Initialising your list client

This assumes you're already using Alexa.NET for your Alexa skill access

var accessToken = skillRequest.Context.System.ApiAccessToken;
var client = new Alexa.NET.ListManagementClient(accessToken);

 

Output all lists

var lists = await client.GetListsMetadata();
foreach(var list in lists)
{
    Console.WriteLine($"{list.ListId} - {list.Name}");
}

 

Output items for a single list

var list = await client.GetList(listId);
foreach(var item in list.Items)
{
    Console.Writeine(item.Value);
}

 

Add Skill Event support to Alexa.NET

 RequestConverter.RequestConverters.Add(new ListSkillEventRequestTypeConverter());

 

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
1.1.0 3,521 8/10/2019
1.0.30 721 2/22/2018
0.2.22-pre 580 2/22/2018
0.2.15-pre 656 12/18/2017

update to netstandard2.0