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
נושאים קשורים
| נושא | תגובות | צפיות | פעילות | |
|---|---|---|---|---|
| Plugin Development - Better way to fetch data for a model and rerender widget? | 0 | 407 | 15 ביוני, 2022 | |
| Are there any examples in Discourse of decorating a widget after an ajax request? | 2 | 2097 | 26 בנובמבר, 2016 | |
| A tour of how the Widget (Virtual DOM) code in Discourse works | 75 | 30402 | 10 ביולי, 2023 | |
| How can I call third party apis in discourse | 4 | 1104 | 26 באוגוסט, 2021 | |
| Reload/Refresh a widget on refresh of another widget | 12 | 1775 | 7 באוקטובר, 2021 |