Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjusted in-skill-purchase samples to support all regions where ISP is available #252

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mc51
Copy link
Contributor

@mc51 mc51 commented Jun 14, 2019

ISPs are now also available in regions other than en-US. Namely, GB, DE and JP.
Following, samples/purchase/model.py will work fine for en-US but fail in these new regions. This is because the variables apiEndpoint and language are fixed. However, querying https://api.amazonalexa.com will return a 403 response if the request is from an European user. We can use the appropriate values from the request to resolve this.

@mc51 mc51 changed the title Adjusted in-skill-purchase samples to support en-GB and de-DE regions Adjusted in-skill-purchase samples to support all regions where ISP is available Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant