WebServices VS API

WebServices VS API

by Alberto Pérez -
Number of replies: 1

Hi!


I am developing an application in Java. This application I want to have some interfaces with Moodle. In particular, I want to automate some tasks from the application in a Moodle site:


- Register/disable users in Moodle DB

-  Enroll users in Moodle courses

- Create course categories

- Create empty courses

- Duplicate existing courses

- Restart courses

- Create user groups in courses

- Add/Remove users in user groups of courses

- Capture of qualifications from Moodle.


To implement these interfaces, I have been reading, and I think I can use both the web services offered by Moodle and the API.

Someone who has done something similar could advise me which one is more recommendable? Are therny restrictions with any of them for the actions I need?


Thanks and regards

Average of ratings: -
In reply to Alberto Pérez

Re: WebServices VS API

by Tomasz Muras -
Picture of Core developers Picture of Plugin developers Picture of Plugins guardians Picture of Translators

Since you're writing in Java, your only option are web services really. The API is written in PHP.

Average of ratings: Useful (1)