CMorooney / obsidian-game-search-plugin

Obsidian plugin that automatically creates notes by searching for video games
MIT License
34 stars 9 forks source link

Metacritic variable is non-functional #27

Closed m1cypher closed 3 months ago

m1cypher commented 3 months ago

please make sure to check the RAWG API Status page to ensure the API is reportedly functioning

Describe the bug When using the {{metacritic}} variable, it provides "Null" rather than their rating.

To Reproduce Steps to reproduce the behavior:

  1. Add {{metacritic}} to your template
  2. Create new note based on template

Expected behavior When using the {{metacritic}} I expected to see the 83 given by Metacritic review score for Ghost of Tsushima in the note I was working on.

CMorooney commented 3 months ago

hi @m1cypher thanks for opening an issue! At first I was unable to reproduce the problem -- then I saw there were a few different published versions of Ghost of Tsushima that come back from the API

I noticed the Director's cut of the game returned null for the metacritic score but the 'vanilla' game returned a score as expected. This seems to be missing data in RAWG's system, as I can see the director's cut does indeed have a MC rating

unfortunately I cannot address the missing data in RAWG's system :( so I will be closing this

Screenshot 2024-06-14 at 3 12 29 PM Screenshot 2024-06-14 at 3 12 34 PM