Module

CompassClient

API Client for Compass Edu

View Source index.js, line 8

Example

const client = CompassClient('school.compass.education','ASP.NET_SessionId=...')

Namespaces

Accounts
Activity
Calendar
LearningTasks
TaskService
Users

Members

# static constant _fetch

View Source index.js, line 26

Example
client.newRequest("Accounts","getAccount",null,"POST")

Methods

# async static downloadFile(id, nodeId) → {Promise.<string>}

Parameters:
Name Type Description
id string

Compass File Id

nodeId string

Compass Node Id

View Source index.js, line 52

Returns file as String

Promise.<string>