0.1.9 • Published 6 years ago

magister-api v0.1.9

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

Magister API

An API for the Magister school software which implements the new login system!

Dependency Status devDependency Status

Quick Start

Install the package:

npm install magister-api

Use the package in Node:

const { default: Magister } = require('magister-api')
const magister = new Magister('schoolName', 'username', 'password')

magister.authenticate()
  .then(session => {
    session.getProfileInfo()
      .then(info => {
        console.log('Yay, this is me:', info)
      })
  }).catch(error => {
    throw new Error(error)
  })

Documentation

For documentation, please look at the JSDocs

Release History

  • 0.1.1 - Added Messages

  • 0.1.0 - First types!

    • Able to fetch Appointments
    • Able to fetch Group data
    • Able to fetch Person data
    • Better documentation
    • Wrote tests
  • 0.0.1 - Initial release

    • Able to connect and authenticate with the Magister private API

Meta

idiidk – @idiidka

Distributed under the MIT license. See LICENSE for more information.

https://github.com/idiidk

Contributing

  1. Fork it (https://github.com/idiidk/magister-api/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request
0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.5

6 years ago

0.0.41

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago