1.0.5 • Published 3 years ago

edpuzz-answers v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Edpuzz-Answers

Gets you your edpuzzle answers.

Features

  • Logging into your edpuzzle account via username and password and retrieving your token.
  • Gets the multiple choice answers to all the questions in the edpuzzle.
  • More coming soon?

Installation

Edpuzz-Answers requires Node.js to run.

Install the dependencies and devDependencies and start the server.

npm i edpuzz-answers

So how do I use this?

Its simple!

var { login, EdClient, Answers } = require('edpuzz-answers');
let TOKEN;
var id = 'You can find the ID in the URL of the edpuzzle video. This is crucial to have it correct!'
// DW we don't save any of this info, its to get the proper authorization from edpuzzle.
// if you want to directly use your token just define the variable TOKEN as your token and disregard this login function!
login('your-edpuzzle-username', 'your-edpuzzle-password'); //This will emit the Grabbed event once the TOKEN has been found.
EdClient.on('Grabbed', function (e) {
    TOKEN = e.acc.token
    Answers(id, TOKEN); // Logs all the answers to the questions!
})

License

MIT

Free Software, Hell Yeah!

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago