1.8.3 • Published 12 months ago

code-university v1.8.3

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

code-university

Functionality and data related to CODE University of Applied Sciences (https://code.berlin), specifically the CODE Learning Platform (https://app.code.berlin).

Tested with

Install

Install the package:

npm install code-university

Examples

// basic usage
import { LearningPlatformClient } from 'code-university';

async function main() {
  const learningPlatform = await LearningPlatformClient.fromRefreshToken(
    process.env.LEARNING_PLATFORM_REFRESH_TOKEN
  );
  const settings = await learningPlatform.getOwnSettings();

  console.log(settings);
}
main();

Retrieving a refresh token from the CODE Learning Platform

  1. Open https://app.code.berlin
  2. Open the browser devtools using Cmd + Shift + I on mac or Ctrl + Shift + I on windows
  3. Click on the Application tab
  4. On the left side of the Application tab, click Cookies > https://app.code.berlin
  5. Double-click the Value field of the cid cookie, and copy it to your clipboard.

Screenshot of the cookies tab

1.7.3

12 months ago

1.7.2

12 months ago

1.8.3

12 months ago

1.6.2

12 months ago

1.6.1

1 year ago

1.6.0

1 year ago

1.5.2

1 year ago

1.4.2

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.2.0

1 year ago

1.2.1

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago