Note: There is a new version of this API. If you're already using this module in your code, it will continue to work.
To use the Badges API, import {badges} from the wix-members-backend module:
{badges}
wix-members-backend