v3.0.0
diff --git a/docs/static/jsdoc/dtpsLMS.html b/docs/static/jsdoc/dtpsLMS.html
index 6cd2cc4..68af1ee 100644
--- a/docs/static/jsdoc/dtpsLMS.html
+++ b/docs/static/jsdoc/dtpsLMS.html
@@ -302,7 +302,7 @@
- <td class="description last">True if the LMS is designed for a specific institution</td>
+ <td class="description last">True if the LMS is designed for a specific institution instead of a broader LMS</td>
</tr>
@@ -403,7 +403,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
- <a href="core.js.html">core.js</a>, <a href="core.js.html#line1350">line 1350</a>
+ <a href="core.js.html">core.js</a>, <a href="core.js.html#line1452">line 1452</a>
</li></ul></dd>
@@ -566,7 +566,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
- <a href="core.js.html">core.js</a>, <a href="core.js.html#line1430">line 1430</a>
+ <a href="core.js.html">core.js</a>, <a href="core.js.html#line1566">line 1566</a>
</li></ul></dd>
@@ -627,6 +627,370 @@
+ <h4 class="name" id=".collapseModule"><span class="type-signature">(static) </span>collapseModule<span class="signature">(classID, moduleID, collapsed)</span><span class="type-signature"> → {Promise}</span></h4>
+
+
+
+
+
+
+<div class="description">
+ [OPTIONAL] Collapses a module in the LMS
+</div>
+
+
+
+
+
+
+
+
+
+ <h5>Parameters:</h5>
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Name</th>
+
+
+ <th>Type</th>
+
+
+
+
+
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+
+ <tbody>
+
+
+ <tr>
+
+ <td class="name"><code>classID</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">string</span>
+
+
+
+ </td>
+
+
+
+
+
+ <td class="description last">The ID of the class</td>
+ </tr>
+
+
+
+ <tr>
+
+ <td class="name"><code>moduleID</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">string</span>
+
+
+
+ </td>
+
+
+
+
+
+ <td class="description last">The ID of the module to collapse</td>
+ </tr>
+
+
+
+ <tr>
+
+ <td class="name"><code>collapsed</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">boolean</span>
+
+
+
+ </td>
+
+
+
+
+
+ <td class="description last">True if the module is collapsed, false otherwise</td>
+ </tr>
+
+
+ </tbody>
+</table>
+
+
+
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <dt class="tag-source">Source:</dt>
+ <dd class="tag-source"><ul class="dummy"><li>
+ <a href="core.js.html">core.js</a>, <a href="core.js.html#line1498">line 1498</a>
+ </li></ul></dd>
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<h5>Returns:</h5>
+
+
+<div class="param-desc">
+ A promise which resolves when the operation is completed
+</div>
+
+
+
+<dl>
+ <dt>
+ Type
+ </dt>
+ <dd>
+
+<span class="param-type">Promise</span>
+
+
+ </dd>
+</dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <h4 class="name" id=".fetchAnnouncements"><span class="type-signature">(static) </span>fetchAnnouncements<span class="signature">(classID)</span><span class="type-signature"> → {Promise.<Array.<<a href="global.html#Announcement">Announcement</a>>>}</span></h4>
+
+
+
+
+
+
+<div class="description">
+ [OPTIONAL] Fetches recent announcements for a course from the LMS
+</div>
+
+
+
+
+
+
+
+
+
+ <h5>Parameters:</h5>
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Name</th>
+
+
+ <th>Type</th>
+
+
+
+
+
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+
+ <tbody>
+
+
+ <tr>
+
+ <td class="name"><code>classID</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">string</span>
+
+
+
+ </td>
+
+
+
+
+
+ <td class="description last">The class ID to fetch announcements for</td>
+ </tr>
+
+
+ </tbody>
+</table>
+
+
+
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <dt class="tag-source">Source:</dt>
+ <dd class="tag-source"><ul class="dummy"><li>
+ <a href="core.js.html">core.js</a>, <a href="core.js.html#line1508">line 1508</a>
+ </li></ul></dd>
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<h5>Returns:</h5>
+
+
+<div class="param-desc">
+ A promise which resolves to an array of Announcement objects
+</div>
+
+
+
+<dl>
+ <dt>
+ Type
+ </dt>
+ <dd>
+
+<span class="param-type">Promise.<Array.<<a href="global.html#Announcement">Announcement</a>>></span>
+
+
+ </dd>
+</dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
<h4 class="name" id=".fetchAssignments"><span class="type-signature">(static) </span>fetchAssignments<span class="signature">(classID)</span><span class="type-signature"> → {Promise.<Array.<<a href="global.html#Assignment">Assignment</a>>>}</span></h4>
@@ -728,7 +1092,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
- <a href="core.js.html">core.js</a>, <a href="core.js.html#line1380">line 1380</a>
+ <a href="core.js.html">core.js</a>, <a href="core.js.html#line1482">line 1482</a>
</li></ul></dd>
@@ -838,7 +1202,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
- <a href="core.js.html">core.js</a>, <a href="core.js.html#line1373">line 1373</a>
+ <a href="core.js.html">core.js</a>, <a href="core.js.html#line1475">line 1475</a>
</li></ul></dd>
@@ -1020,7 +1384,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
- <a href="core.js.html">core.js</a>, <a href="core.js.html#line1396">line 1396</a>
+ <a href="core.js.html">core.js</a>, <a href="core.js.html#line1532">line 1532</a>
</li></ul></dd>
@@ -1179,7 +1543,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
- <a href="core.js.html">core.js</a>, <a href="core.js.html#line1388">line 1388</a>
+ <a href="core.js.html">core.js</a>, <a href="core.js.html#line1524">line 1524</a>
</li></ul></dd>
@@ -1237,6 +1601,324 @@
+ <h4 class="name" id=".fetchHomepage"><span class="type-signature">(static) </span>fetchHomepage<span class="signature">(classID)</span><span class="type-signature"> → {Promise.<string>}</span></h4>
+
+
+
+
+
+
+<div class="description">
+ [OPTIONAL] Fetches homepage HTML for a course from the LMS
+</div>
+
+
+
+
+
+
+
+
+
+ <h5>Parameters:</h5>
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Name</th>
+
+
+ <th>Type</th>
+
+
+
+
+
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+
+ <tbody>
+
+
+ <tr>
+
+ <td class="name"><code>classID</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">string</span>
+
+
+
+ </td>
+
+
+
+
+
+ <td class="description last">The class ID to get the homepage for</td>
+ </tr>
+
+
+ </tbody>
+</table>
+
+
+
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <dt class="tag-source">Source:</dt>
+ <dd class="tag-source"><ul class="dummy"><li>
+ <a href="core.js.html">core.js</a>, <a href="core.js.html#line1516">line 1516</a>
+ </li></ul></dd>
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<h5>Returns:</h5>
+
+
+<div class="param-desc">
+ A promise which resolves to the HTML for the class homepage
+</div>
+
+
+
+<dl>
+ <dt>
+ Type
+ </dt>
+ <dd>
+
+<span class="param-type">Promise.<string></span>
+
+
+ </dd>
+</dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <h4 class="name" id=".fetchModules"><span class="type-signature">(static) </span>fetchModules<span class="signature">(classID)</span><span class="type-signature"> → {Promise.<Array.<<a href="global.html#Module">Module</a>>>}</span></h4>
+
+
+
+
+
+
+<div class="description">
+ [OPTIONAL] Fetches module data for a course from the LMS
+</div>
+
+
+
+
+
+
+
+
+
+ <h5>Parameters:</h5>
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Name</th>
+
+
+ <th>Type</th>
+
+
+
+
+
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+
+ <tbody>
+
+
+ <tr>
+
+ <td class="name"><code>classID</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">string</span>
+
+
+
+ </td>
+
+
+
+
+
+ <td class="description last">The class ID to fetch modules for</td>
+ </tr>
+
+
+ </tbody>
+</table>
+
+
+
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <dt class="tag-source">Source:</dt>
+ <dd class="tag-source"><ul class="dummy"><li>
+ <a href="core.js.html">core.js</a>, <a href="core.js.html#line1490">line 1490</a>
+ </li></ul></dd>
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<h5>Returns:</h5>
+
+
+<div class="param-desc">
+ A promise which resolves to an array of Module objects
+</div>
+
+
+
+<dl>
+ <dt>
+ Type
+ </dt>
+ <dd>
+
+<span class="param-type">Promise.<Array.<<a href="global.html#Module">Module</a>>></span>
+
+
+ </dd>
+</dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
<h4 class="name" id=".fetchPageContent"><span class="type-signature">(static) </span>fetchPageContent<span class="signature">(classID, pageID)</span><span class="type-signature"> → {Promise.<string>}</span></h4>
@@ -1361,7 +2043,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
- <a href="core.js.html">core.js</a>, <a href="core.js.html#line1413">line 1413</a>
+ <a href="core.js.html">core.js</a>, <a href="core.js.html#line1549">line 1549</a>
</li></ul></dd>
@@ -1520,7 +2202,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
- <a href="core.js.html">core.js</a>, <a href="core.js.html#line1405">line 1405</a>
+ <a href="core.js.html">core.js</a>, <a href="core.js.html#line1541">line 1541</a>
</li></ul></dd>
@@ -1630,7 +2312,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
- <a href="core.js.html">core.js</a>, <a href="core.js.html#line1366">line 1366</a>
+ <a href="core.js.html">core.js</a>, <a href="core.js.html#line1468">line 1468</a>
</li></ul></dd>
@@ -1789,7 +2471,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
- <a href="core.js.html">core.js</a>, <a href="core.js.html#line1422">line 1422</a>
+ <a href="core.js.html">core.js</a>, <a href="core.js.html#line1558">line 1558</a>
</li></ul></dd>
@@ -1948,7 +2630,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
- <a href="core.js.html">core.js</a>, <a href="core.js.html#line1439">line 1439</a>
+ <a href="core.js.html">core.js</a>, <a href="core.js.html#line1575">line 1575</a>
</li></ul></dd>
@@ -2107,7 +2789,7 @@
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
- <a href="core.js.html">core.js</a>, <a href="core.js.html#line1447">line 1447</a>
+ <a href="core.js.html">core.js</a>, <a href="core.js.html#line1583">line 1583</a>
</li></ul></dd>
@@ -2181,7 +2863,7 @@
<br class="clear">
<footer>
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.4</a> on Sun Jun 07 2020 14:02:58 GMT-0700 (Pacific Daylight Time)
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Fri Jul 24 2020 19:25:37 GMT-0700 (Pacific Daylight Time)
</footer>
<script> prettyPrint(); </script>