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

Gift API endpoint changed #1

Open
MossTheFox opened this issue Mar 9, 2024 · 1 comment
Open

Gift API endpoint changed #1

MossTheFox opened this issue Mar 9, 2024 · 1 comment

Comments

@MossTheFox
Copy link

Issue
The previous API endpoint /api/v1/gift_categories will now return an empty array. Nintendo has updated the NSP applet app and the new API endpoint seems to be /api/v1/gift_distributions.

Response Sample
nso-gift-distributions-sample.json

They've added condition_play_applications to some categories by the way. Like, one without a copy of Animal Crossing: New Horizons can no longer redeem those icons. That's kinda bad.

@MossTheFox MossTheFox changed the title Gift API endpoint has been changed Gift API endpoint changed Mar 9, 2024
@MossTheFox
Copy link
Author

MossTheFox commented Mar 9, 2024

Oh and, for region-locked ones like Mother 3, change this header for the request to make the response right:

"accept-language": "jp"

This is the one response with Mother 3 category in case it's missed:
nso-gift-distributions-sample-jp.json

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

No branches or pull requests

1 participant