1.0.0 • Published 7 years ago

powerschool v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

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

7 years ago