moodle-scraper
Very simple Moodle Scraper, tested only with UTFPR-CP Moodle. More API very soon.
Installation
npm install moodle-scraper
Usage
var moodle = ; var user = username: "" password: "" url: "http://ead.cp.utfpr.edu.br" // Moodle domain.; moodle
API
courses(user, callback)
user
User credentials and Moodle Domain.callback(err, courses)
Courses JSON or error.
moodle
teacher(user, teacher, callback)
user
User credentials and Moodle Domain.teacher
Moodle teacher ID.callback(err, teacher)
Teacher information or error.
moodle