Depends what you are trying to do I suppose but why not use the official Discord Ruby API to get the data into the Discourse db, serialize it to the client and then use it in the widget?
merefield
(Robert)
2
Gerelateerde topics
| Topic | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
| Plugin Development - Better way to fetch data for a model and rerender widget? | 0 | 407 | 15 juni 2022 | |
| Are there any examples in Discourse of decorating a widget after an ajax request? | 2 | 2097 | 26 november 2016 | |
| A tour of how the Widget (Virtual DOM) code in Discourse works | 75 | 30411 | 10 juli 2023 | |
| How can I call third party apis in discourse | 4 | 1105 | 26 augustus 2021 | |
| Reload/Refresh a widget on refresh of another widget | 12 | 1778 | 7 oktober 2021 |