Nookipedia / nookipedia-api

Nookipedia's custom API for querying data from the Animal Crossing video game series.
https://api.nookipedia.com/
MIT License
40 stars 12 forks source link

Fix for variation pulling and stitching #66

Closed KevinPayravi closed 3 years ago

KevinPayravi commented 3 years ago

Previously we were treating ACNH items' identifier field as, well, a unique identifier; it's a misnomer, as the identifier is used on Nookipedia to track items across all games (e.g. a furniture item that appears in both New Leaf and New Horizons will have the same identifier, even if the item's name changed between the games); multiple items can have the same identifier within a game, so we can't reliably use it as a unique identifier when querying. This PR changes the variation pulling and stitching to use en_name/name instead, which is an actual identifier.

Also importing missing requests in some files.