liberapay.com
liberapay.com copied to clipboard
Is there a public API to access data used by widgets?
First, thanks for Liberapay!
I would like to display custom progress bar on https://sunknudsen.com/donate.
Is there a public API to access data used by widgets such as how much one receives and one’s goal?
Do you know about this page? https://liberapay.com/sunknudsen/widgets/
@trebmuh Yes, thanks for sharing.
That is the page I was referring to when mentioning widgets.
I would love to pull raw data (perhaps in JSON format) vs widget so I can generate my own visuals.
OK. I don't know more than that. Probably @Changaco will know and tell.
https://liberapay.com/sunknudsen/public.json is what you're looking for.
To close this issue, we should at least add a link to the public.json endpoint in the Widgets page.
Thanks @Changaco, this is exactly what I was looking for. 🙌
@Changaco Hi ,I would like to work on this issue. Can you please elaborate where to add the link mentioned above?
@Aayush987 The Widgets page is the file www/%username/widgets/index.html.spt
.
@Changaco I just have to add link of that public.json file to widgets page .Thats it ,right? Or i have to write something also? Also assign me this issue