Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Implement searching for North American region #6

Open
3 tasks
7bitlyrus opened this issue Feb 17, 2021 · 1 comment
Open
3 tasks

Implement searching for North American region #6

7bitlyrus opened this issue Feb 17, 2021 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@7bitlyrus
Copy link
Member

Implement a search provider that exposes a dict of Games search results for a given region.

Possible Regions: en_US en_CA fr_CA es_LA

Use graph.nintendo.com GraphQL GameGames method to allow games to be searched.
(Notes on schema: https://gist.github.com/7bitlyrus/9aa2d1418fbbaa781710511a5b0e6b11)

Road map:

  • Update Game data class to match/add data returned by API
  • Implement search provider
  • Write tests
@7bitlyrus 7bitlyrus added this to the 0.2.0 milestone Feb 17, 2021
@7bitlyrus 7bitlyrus added the enhancement New feature or request label Feb 17, 2021
@7bitlyrus
Copy link
Member Author

I think we'll have to put this issue on hold until things are re-researched to use Angola search results instead, as Nintendo's GraphQL has had introspection disabled and some parameters renamed. At the very least, it looks like we'll still be able to get the product id thats otherwise hidden in NA:

{
    GetGameByNsuid(nsuid: "70010000036098", locale: "en-US") {
        productCode
    }
}
{
    "data": {
        "GetGameByNsuid": {
            "productCode": "HACPA2NAA"
        }
    }
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant