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

blackbaud.js

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blackbaud.js

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

latest
Source
npmnpm
Version
1.2.1
Version published
Maintainers
1
Created
Source

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.
  });
});

Keywords

blackbaud

FAQs

Package last updated on 26 Aug 2023

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