Hello, I wanted to know if it is possible, based on your knowledge, to develop a plugin that uses an API (BGG v2 API). Basically, I would like to add a game search button to the topic toolbar. Here is the diagram:
User clicks “BGG”
↓
Search modal opens (JavaScript)
↓
Enter the game name
↓
Discourse API → BoardGameGeek API
↓
Results displayed
↓
Select a game
↓
Full details loaded
↓
Click “Insert”
↓
Formatted text inserted into the topic
Is this possible?
I have already done tests with ia but I saw that it uses net/http and nokogiri
It is the user who creates a topic and then clicks on BGG search (game). They enter the game search which is found by the BGG XML API and they validate the search which will integrate into the topic
I see. Correct my if I’m wrong, but I think the API requires an Authorization key which should not be shared? So then a plugin is better. I think it’s quite possible to do this with a plugin - go for it!