- Edited
I've put together a small API so you can add badges to your extension READMEs and posts.
The data is kindly provided via the Extiverse API, created by @luceos.
Documentation: https://docs.flarum-badge-api.davwheat.dev/
Endpoint: https://flarum-badge-api.davwheat.dev/
For example...
https://flarum-badge-api.davwheat.dev/v1/compat-latest/davwheat/custom-sidenav-links
https://flarum-badge-api.davwheat.dev/v1/compat-latest/fof/drafts
There's also an endpoint to fetch the icon for an extension, with documentation at the URL above.
Let me know if you have any questions or issues!