benbarden / switchscores

The code behind switchscores.com.
9 stars 1 forks source link

API for Playnite Extension #163

Open minhnhattonthat opened 6 days ago

minhnhattonthat commented 6 days ago

Hi, I plan to create an extension for Playnite (a game library front-end), which can retrieve data from Switch Scores to populate metadata for switch games.

I have developed one that use data from Nintendo directly, but as sometimes games got delisted, and Nintendo may retired the APIs, so a secondary source is helpful.

I also checked that issue #19 has requested the API, though there are some fields missing

So may I request if you could update the API to include the above fields? I would really appreciate that! Thanks!

benbarden commented 6 days ago

Hey @minhnhattonthat , most of this should be ok - a few comments:

benbarden commented 6 days ago

Hi again @minhnhattonthat ,

I've ticked off 3 of the items on the list.

There is a new version of the API where the changes have been made, so as not to break compatibility and also to introduce authentication.

I have also expanded the Developer Hub on the site to allow access tokens to be requested.

To use the new V2 API methods, please do the following:

  1. Email me - ben at switchscores dot com - requesting an invite code. I'll send you one.
  2. Register at the site. I'll give you access to the Developer Hub.
  3. You will then be able to request a token, and use this in your requests.

Please let me know if you need any more details. Thanks!

minhnhattonthat commented 5 days ago

hi @benbarden

Appreciate your prompt updates!

I have emailed you for the invite code.

For tags field, I'm happy if they are available, and will handle the case when it's empty.

Looking forward to testing out the new API!