Skip to content

Conversation

@m24ih
Copy link

@m24ih m24ih commented Jan 18, 2026

Description

This PR integrates IGDB and RAWG APIs into the plugin, allowing users to search for games using these services. It also includes several fixes and improvements.

Changes

  • New APIs: Added support for IGDB and RAWG.
  • Settings: Added configuration fields for IGDB (Client ID, Client Secret) and RAWG (API Key).
  • Bug Fix (RAWG): Fixed an issue where RAWG release dates were ignoring the user's preferred date format.

Testing

  • IGDB: Tested searching for the game "Hytale". Note: Metadata and cover art fetching verified.
  • RAWG: Added the implementation but could not verify live search due to sign-up issues on the platform. The code logic for date formatting has been unit-verified.

How to use

Setting up IGDB

To use the IGDB API, you need to generate a Client ID and Client Secret.

  1. Follow the instructions here: https://api-docs.igdb.com/#getting-started
  2. Enter the credentials in the plugin settings.

Setting up RAWG

  1. Get an API key from https://rawg.io/apidocs
  2. Enter the key in the plugin settings.

This PR was created with mostly 'vibe coding'.


📸 Screenshots image image image image image image image

@tuberbacon
Copy link

I don't know if this was already accounted for, but since obsidian version 1.11 a new Keychain settings section was added for storing plugin secrets. Since RAWG uses a secret I thought it may be a useful piece of info.

@m24ih
Copy link
Author

m24ih commented Jan 20, 2026

Thanks for the note. I am aware of the new Keychain settings introduced in Obsidian 1.11. However, I opted to place these credentials within the plugin's own settings to ensure consistency with how other APIs in the project currently handle their keys. If preferred, I can refactor this to utilize the new secret storage system.

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

Successfully merging this pull request may close these issues.

2 participants