Alexa.NET.CustomerProfile 1.0.0

A simple .NET Core library for handling Alexa skills using the Customer Profile API

There is a newer version of this package available.
See the version list below for details.
Install-Package Alexa.NET.CustomerProfile -Version 1.0.0
dotnet add package Alexa.NET.CustomerProfile --version 1.0.0
<PackageReference Include="Alexa.NET.CustomerProfile" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Alexa.NET.CustomerProfile --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Alexa.NET.CustomerProfile

Small helper library for Alexa.NET based skills to access the customer contact API

Asking your user for consent to get customer information

using Alexa.NET.Response

var response = ResponseBuilder.TellWithAskForPermissionConsentCard(
    "sorry, but you have to give me consent",
    new[]{
        CustomerProfilePermissions.FullName,
        CustomerProfilePermissions.Email
    }
);

Getting customer profile information

using Alexa.NET.Response

var client = new CustomProfileClient(skillRequest);
var fullName = await client.FullName();
var email = await client.Email();

Alexa.NET.CustomerProfile

Small helper library for Alexa.NET based skills to access the customer contact API

Asking your user for consent to get customer information

using Alexa.NET.Response

var response = ResponseBuilder.TellWithAskForPermissionConsentCard(
    "sorry, but you have to give me consent",
    new[]{
        CustomerProfilePermissions.FullName,
        CustomerProfilePermissions.Email
    }
);

Getting customer profile information

using Alexa.NET.Response

var client = new CustomProfileClient(skillRequest);
var fullName = await client.FullName();
var email = await client.Email();

Release Notes

Initial API interaction and permissions

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Alexa.NET.CustomerProfile:

Package Downloads
Bot.Builder.Community.Adapters.Alexa.Core
Core package containing Attachment types and turn context extensions for when using Bot Builder .NET Alexa Adapter to allow for a bot to be used for Alexa skills.
Ask.Sdk.Core
Core SDK package that contains the basic components and default implementations of ASK SDK for .Net Core.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Alexa.NET.CustomerProfile:

Repository Stars
BotBuilderCommunity/botbuilder-community-dotnet
Part of the Bot Builder Community Project. Repository for extensions for the Bot Builder .NET SDK, including middleware, dialogs, recognizers and more.

Version History

Version Downloads Last updated
2.1.1 22,485 11/12/2019
2.1.0 359 8/10/2019
2.0.0 783 1/1/2019
1.0.0 639 8/3/2018
0.1.0 357 8/3/2018