Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

This is a sample skill written in JavaScript that demonstrates how to use device ID and the API endpoint values to make a request to the Alexa Device Address API.

License

Notifications You must be signed in to change notification settings

alexa-samples/skill-sample-node-device-address-api

Repository files navigation

Device Address API Integration Sample Project

** This repository has been archived **

This repository is still available as a point-in-time reference, but no further updates or support will be prioritized.

Voice User InterfaceLambda FunctionConnect VUI to CodeTesting

What You Will Learn

What You Will Need

What Your Skill Will Do

The new Device Address API enables skills to request and access the configured address in the customer’s device settings. This means you can build skills with the context to understand the customers who use the skill, then use the data to customize the voice experience. Your skill, for example, can deliver food and groceries to a customer’s home or provide directions to a nearby gym. You can also see where your most active users are. Check out our documentation to learn more.

When a user enables a skill with the Alexa app that wants to use location data, the user will be prompted to provide consent for location data to be made available. There are two levels of location data you can request:

Full address, which includes street address, city, state, zip, and country Country and postal code only When a user enables a skill that wants to use this location data, the user will be prompted in the Alexa app to consent to the location data being shared with the skill. It is important to note that when a user enables a skill via voice, the user will not be prompted for this information and the default choice will be "none." In this case, you can use cards to prompt the user to provide consent using the Alexa app.

About

This is a sample skill written in JavaScript that demonstrates how to use device ID and the API endpoint values to make a request to the Alexa Device Address API.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published