Skip to content

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

License

Notifications You must be signed in to change notification settings

stoiveyp/Alexa.NET.Profile

Repository files navigation

Alexa.NET.Profile

Small helper library for Alexa.NET based skills to access the customer and person profile APIs

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.Profile

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

Getting person profile information

using Alexa.NET.Profile

var client = new PersonProfileClient(skillRequest);
var fullName = await client.FullName();

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages