Coder Social home page Coder Social logo

Comments (6)

theusaf avatar theusaf commented on June 2, 2024 1

I have already implemented challenges in my NodeJS package kahoot.js-updated, but I'm working on documenting the API to allow for easy implementation in other languages.

from kahoot-answer-bot.

5l1v3r1 avatar 5l1v3r1 commented on June 2, 2024

In debug mode: output will go brrrrrrrrrrrr
AUTHENTICATED
Traceback (most recent call last):
File "./kbot", line 100, in
user.checkPin()
File "/root/Desktop/kahoot-answer-bot-master/klib.py", line 266, in checkPin
self.error(f"Pin {self.pin} does not exist.")
File "/root/Desktop/kahoot-answer-bot-master/klib.py", line 40, in error
raise KahootError(err)
klib.KahootError: Pin 05248867 does not exist.

from kahoot-answer-bot.

Raymo111 avatar Raymo111 commented on June 2, 2024

It seems that challenges are a new mode of Kahoots that came out this year. They appear to use a protocol different from regular Kahoots. I'll have to do a bit of WSS reverse engineering. Shouldn't be too much of an issue I don't think.

from kahoot-answer-bot.

Raymo111 avatar Raymo111 commented on June 2, 2024

Hmm so it seems like Kahoot isn't using WSS at all for the new challenge type. It's using REST. I actually have no idea how to implement the new protocol. You can still use the lookup feature by quizID (everything before the underscore, i.e. 11d905ab-fe8e-471c-a069-24bcf77384d1). In your specific case it doesn't work because the Kahoot was private.

from kahoot-answer-bot.

theusaf avatar theusaf commented on June 2, 2024

Just commenting on the previous comment. The id listed in the link is the challenge id, which is different from the quiz id. Another interesting thing about challenges is that the entire quiz, even if the quiz is private, is sent through the REST APIs.

from kahoot-answer-bot.

Raymo111 avatar Raymo111 commented on June 2, 2024

@theusaf interesting. Would you mind taking a shot at it? If you do make a PR and I'll merge it.

from kahoot-answer-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.