AppCrue connection services
插件本地插件稳定版

AppCrue connection services

local_appcrueJuan Pablo de Castro

  • Moodle 4.5–5.3
  • 更新 2026-11-03

Official integration of Moodle with AppCRUE mobile App for universities. Implements services for extracting different types of information for an user identified by a token or an APIKEY. The token need to be validated and authenticated by an external identity provider (IdP).
It was developed to enable Moodle to publish information for the AppCrue application.
AppCRUE (https://tic.crue.org/app-crue/) is a mobile App develop by the CRUE (Conference of Rectors of Spanish Universities) and Santander Bank. It is used by more than 200 universities in 7 countries and more than 3 million users.
AppCRUE services
Implements services to give access to AppCRUE to different types of information about a user identified by a token or an API key.
The token must be validated and authenticated by a configurable external identity provider (IdP).
This plugin was developed to enable Moodle to publish information for the AppCRUE application.
Functionality
This plugin implements a set of simple REST endpoints that provide a backend with calendar events, forum posts, files, grades, and announcements accessible by a particular user.
It authenticates the caller, identifies the queried user, impersonates that user and queries Moodle internal APIs.
It implements endpoints compatible with the classical AppCRUE API (calendar events, autologin, sitemap generation, avatar retrieval) and web services to send notifications from external systems.
LMS integration APIs
This plugin implements a set of REST endpoints to provide information for a specific user. They accept an API key to authorize the AppCRUE backend, a user identifier (for example, email), then match the identifier against user fields, impersonate the user, and query Moodle internal APIs.
local/appcrue/appcrue.php/calendar: provides calendar events for a user. Parameters: apikey, userid, timestart, timeend.
local/appcrue/appcrue.php/forums: provides forum posts for a user. Parameters: apikey, userid, optional timestart.
local/appcrue/appcrue.php/files: provides files downloadable by a user. Parameters: apikey, userid.
local/appcrue/appcrue.php/grades: provides grades for a user. Parameters: apikey, userid.
local/appcrue/appcrue.php/announcements: provides announcements for a user (news forums). Parameters: apikey, userid.
This local plugin provides the following services following the AppCRUE API:
usercalendar: reports calendar events for a user. It accepts the parameters fromDate, toDate, token.

返回插件目录