A simple node module to query the duolingo API
This module is installed via npm:
npm install --save duolingo.js
var duo = require('duolingo.js');
duo('HelpfulDuo')
.then(function(user) {
console.log(user.id);
})
.catch(function(error) {
console.error(error);
});
user.id
user.username
user.duoname
user.avatarURL
user.language.learningCode
user.language.learningString
user.language.level
user.language.skillsLearned
user.language.totalSkills
user.streak.currentAmount
user.streak.extendedToday