New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

magisterjs2

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magisterjs2

A JavaScript implementation of the Magister 6 API

latest
Source
npmnpm
Version
2.0.0-alpha1.2
Version published
Maintainers
1
Created
Source

Magister.js

Travis CI Badge

==========

This package is made by lieuwe. I am just publishing this for easier testing and am planning to take over the project.

npm version Known Vulnerabilities

A JavaScript implementation of the Magister 6 API.

Quickstart

npm install magisterjs2

const { default: magister, getSchools } = require('magister.js');
// or with es6 modules:
// import magister, { getSchools } from 'magister.js'

// replace every '<thing>' with your credentials:

getSchools('<schoolname>') // get schools matching '<schoolname>'
	.then((schools) => schools[0]) // get the first school
	.then((school) => magister({ // login
		school,
		username: '<username>',
		password: '<password>',
	}))
	.then((m) => { // done logging in, say hi
		console.log(`Hey ${m.profileInfo.firstName}!`);
	}, (err) => { // something went wrong
		console.error('something went wrong:', err);
	});

Before creating issues

  • Update all your packages with npm update
  • Be sure you haven't made a typo and your code is correct (check the docs (old))

Contributing

  • Document your code using jsdoc
  • Respect and follow the current programming style
  • Test your changes with npm test
  • Check your code style with eslint
  • Only commit the src/ and test/ directory

License

LGPLv3

Keywords

magister

FAQs

Package last updated on 20 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts