Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
/ blackbaud.js Public archive

Node.js package to interact with Blackbaud's learning management system (LMS)

License

Notifications You must be signed in to change notification settings

milanmdev/blackbaud.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


blackbaud.js


Node.js package to interact with Blackbaud's learning management system (LMS)



NPM Version NPM Downloads Dependencies


NPM Install Info

Example

const { Client } = require("blackbaud.js");

const client = new Client({
  url: "example.myschoolapp.com",
  svcToken: "ExampleSVCToken", // This can be fetched by looking for the "AuthSvcToken" cookie under "myschoolapp.com" in your browser.
  /* username: "john.doe",
  password: "JohnDoePassword123",*/ // Alternatively, you can provide credentials if the LMS does not use BBID.
});
let UserManager = new client.UserManager(client);

client.on("ready", async function (client) {
  console.log(
    `[Blackbaud] Client logged in and ready as "${client.user.username}"`
  );

  await UserManager.getStatus().then((data) => {
    console.log(data.partial.unreadMessageCount); // Returns the number of unread messages for the current user.
  });
});

About

Node.js package to interact with Blackbaud's learning management system (LMS)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •