powerschool
v1.0.0
Published
Interact with Powerschool-enabled districts through node.js
Downloads
37
Readme
This does a thing.
Example usage
const PowerSchool = require('powerschool')
// init a powerschool object with a district
// code
var ps = new PowerSchool("district code")
// you can also do this:
PowerSchool.getDistrictByCode("district code")
.then(district => {
console.log(district)
// then you can init with this object
var ps = new PowerSchool(district)
})
// ready is fired when the district's server info
// has been retrieved
ps.on("ready", district => {
ps.getStudentData("username", "password")
.then(data => {
console.log(data)
})
})