A simple npm module that allows you to communicate with ScuolaNext Argo's API
npm i argoapi
const ArgoAPI = require('argoapi')
ArgoAPI.login('school code','username','password')
.then(message => {
//successfull message
})
.catch(err => {
//error message
})
const ArgoAPI = require('argoapi')
//inside an async function
try {
await ArgoAPI.login('school code','username','password')
} catch(e) {
console.log(e)
}
For docs see the DOCS.md file.