diff options
Diffstat (limited to 'alarm/node_modules/pronote-api/src/fetch/pronote/files.js')
-rw-r--r-- | alarm/node_modules/pronote-api/src/fetch/pronote/files.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/alarm/node_modules/pronote-api/src/fetch/pronote/files.js b/alarm/node_modules/pronote-api/src/fetch/pronote/files.js new file mode 100644 index 0000000..2871fbe --- /dev/null +++ b/alarm/node_modules/pronote-api/src/fetch/pronote/files.js @@ -0,0 +1,16 @@ +const navigate = require('./navigate'); + +const PAGE_NAME = 'RessourcePedagogique'; +const TAB_ID = 99; +const ACCOUNTS = ['student']; + +async function getFiles(session, user) +{ + return await navigate(session, user, PAGE_NAME, TAB_ID, ACCOUNTS, { + avecRessourcesPronote: true, + avecRessourcesEditeur: false + }); +} + + +module.exports = getFiles; |