1.0.2 • Published 4 years ago
salliemae v1.0.2
salliemae-js
The unofficial Node.js SDK for SallieMae's undocumented private API.
Currently supports fetching all loans associated with the provided account, and all payment history. Authentication and challenge questions are handled under the hood.
Install
npm install salliemae
Usage
import { SallieMaeClient } from 'salliemae'
(async () => {
const client = new SallieMaeClient({
username: 'YOUR-USERNAME',
password: 'YOUR-PASSWORD',
birthDate: new Date('January 1, 1991'),
accountNumber: 'YOUR-ACCOUNT-NUMBER',
// Optional (auto-generated if not provided)
// Can optionally provide if you want to re-use the same session token
devicePrint: 'SOME-RANDOMLY-GENERATED-UUID',
});
const loans = await client.account.loans()
const history = await client.account.history()
console.log(JSON.stringify({ loans, history }, null, 2))
})()
License
MIT
Legal
This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by SallieMae or any of its affiliates or subsidiaries. This is an independent and unofficial API. Use at your own risk.