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
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Plugin Development - Better way to fetch data for a model and rerender widget? | 0 | 406 | June 15, 2022 | |
| Are there any examples in Discourse of decorating a widget after an ajax request? | 2 | 2097 | November 26, 2016 | |
| A tour of how the Widget (Virtual DOM) code in Discourse works | 75 | 30381 | July 10, 2023 | |
| How can I call third party apis in discourse | 4 | 1102 | August 26, 2021 | |
| Reload/Refresh a widget on refresh of another widget | 12 | 1773 | October 7, 2021 |