theusaf / kahoot.js-updated

Kahoot.js
MIT License
42 stars 22 forks source link

Logging Mode #26

Closed ghost closed 4 years ago

ghost commented 4 years ago

I was trying to use the console for debugging, but the package spits put "sending packet" every time I answer a question. This isn't a problem, but could you add a "logging mode" or something? It could log all the server's responses and more. Mabye have it output the logs into an array or something?

Thanks!

theusaf commented 4 years ago

Yeah, that’s a small issue, where I forgot to remove a console.log statement when debugging. I’ll push the fixed version later.

Sent over the interblag from a GUI. https://github.com/theusaf https://shortr.github.io/?llorkcir

On Mar 2, 2020, at 1:44 PM, Noah Gerard notifications@github.com wrote:

 I was trying to use the console for debugging, but the package spits put "sending packet" every time I answer a question. This isn't a problem, but could you add a "logging mode" or something? It could log all the server's responses and more. Mabye have it output the logs into an array or something?

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

theusaf commented 4 years ago

I’ll consider adding a logging mode as a config option. Thanks for the suggestion

ghost commented 4 years ago

Np. You should try making an unofficial Quizlet API. I could help out here and there.

theusaf commented 4 years ago

Thinking about making gimkit / quizlet / quizziz apis, but no time currently. I’ll notify you when I start on it.

Sent over the interblag from a GUI. https://github.com/theusaf https://shortr.github.io/?llorkcir

On Mar 2, 2020, at 5:52 PM, Noah Gerard notifications@github.com wrote:

 Np. You should try making an unofficial Quizlet API. I could help out here and there.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ghost commented 4 years ago

Got it.

jeffalo commented 4 years ago

notify me if you can :)

im using this package in my kahoot bot and its a charm :)