Is there a way to obtain the device location (i.e. Zip Code) of the device using my Alexa Skill?
I am trying to make Alexa locally relevant.
Thanks
Is there a way to obtain the device location (i.e. Zip Code) of the device using my Alexa Skill?
I am trying to make Alexa locally relevant.
Thanks
There is now a device address API that is available. Documentation can be found here: https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/device-address-api
The new address API opens up really cool new possibilities for your custom skills. If you want to build custom skills with Python, you should check out the following blog post to learn how to use it:
https://data-dive.com/alexa-get-device-location-from-custom-skill
It describes how to retrieve the address in detail. Moreover, it explains how to convert the address to the corresponding coordinates. Some example code is provided to get you started right away.