1.2.1 • Published 9 months ago

blackbaud.js v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

blackbaud.js

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

9 months ago

1.2.0

1 year ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

3 years ago