I'm using Mozilla BadgeKit Self-Hosting, downloaded complete code from github and installed it on my localhost(wamp) its working and i can create badges from front end but I want to make and access badges via API. I have found badgekit-api directory.
I want to know the basic flow that how can I use API in my website to interact with mozilla badgekit,
i tried to make a custom app in badgkit api directory but it did not work for me.
My website is an online quiz system and i want to issue a badge to quiz participants when they pass their quiz.
Please tell me where to put badge creation code and how to show achieved badges on my website
Thanks!