@tuclase-tupais/valence
TypeScript icon, indicating that this package has built-in type declarations

0.1.85 • Public • Published

Tu clase, tu pais

@tuclase-tupais/valence

Status License


Typescript abstraction layer on top of Valence for high level manipulation

📝 Table of Contents

About

This a Valence API version on steroids

Getting Started

You will need valid Valence API credentials.

First, registrate an LTI app

Once you get those valid credentials, you can start playing arround.

import { ValenceAPI } from "../ValenceAPI";

// Sample config from https://apitesttool.desire2learnvalence.com/
const api = new ValenceAPI({
    appId: "31brpbcCLsVim_K4jJ8vzw",
    appKey: "sagYSTT_HOts39qrGQTFWA",
    userId: "q4bxJ2d4dQ0ctaMabhjzEY",
    userKey: "_VF9gm86GDD0PkAdiIDGB3",
    baseUrl: "https://devcop.brightspace.com",

    // Optional. Used for navbar manipulation
    username: "web username",
    password: "web password"
});

// Get the Organization Info and print it out.
api.getOrganizationInfo()
    .then(orgInfo => {
        console.log("Organization info", orgInfo)
    });

✍️ Authors

🎉 Acknowledgements

  • Desire2Learn: For the very well documented website

Readme

Keywords

none

Package Sidebar

Install

npm i @tuclase-tupais/valence

Weekly Downloads

3

Version

0.1.85

License

ISC

Unpacked Size

269 kB

Total Files

386

Last publish

Collaborators

  • solivares
  • tctp-rarias
  • rodricity