Integrating Moodle with an external mobile app.

Re: Integrating Moodle with an external mobile app.

by Dani Palou -
Number of replies: 0
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Hi Benjamin,

external systems and apps need to use WebServices to communicate with Moodle. You can see the list of WebServices available in your Moodle site in here:

Site administration > Plugins > Web Services > API Documentation

Then you just need to perform a network request to this URL:

{YOURMOODLE}/webservice/rest/server.php

With the params:

wsfunction: Name of the WebService you want to use. For example, core_course_get_courses.

wstoken: User token. You need to get it from login/token.php using a login form.

Other params required by the WebService.

Kind regards,

Dani