powerschool

1.0.0 • Public • Published

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)
    })
})

Dependents (0)

Package Sidebar

Install

npm i powerschool

Weekly Downloads

7

Version

1.0.0

License

ISC

Last publish

Collaborators

  • tjhorner