Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Latest commit

 

History

History
22 lines (12 loc) · 753 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 753 Bytes

node-olin

Tools for programmatically getting information about Olin college.

NOTE: It would be a bad idea to include this module in a live website. Best keep it for command-line tasks only.

npm install olin

olin.networkLogin(username, pass, callback(err, user))

Log in as a user with username/password. Returns error if invalid, otherwise returns information on user.

olin.resolveUsername(username, pass, infousername, callback(err, infouser))

Returns data on the account of infousername. Can be an email account.

olin.expandDistributionList(username, pass, list, callback(err, list))

Expands a Distribution List to get the names of everyone on that list. Can be used to get names of entire classes for example.