Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
This project allows external websites to interact with the Achievements module on your Drupal site. It provides a Services API and Javascript library that can be used on any site.
Currently this library exposes the following API to external sites:
get_all_achievements: Retrieves a list of all possible achievements that can be awarded.
get_user_achievements: Retrieves a list of all achievements awarded to a given user.
achievement_trigger: Triggers credit toward an achievement for a user.
This initial version of the module has been built for a very specific intranet implementation. As such, it may not be appropriate for use on public websites.
Users on external sites must have an account on the Drupal site.
The Services API is setup with session authentication, so the users must either already be logged into the Drupal site or the Drupal site must be configured to support an automatic SSO