Kahoot Game Finder. Where do I start?
So, I had a great project idea. I was playing Kahoot and saw a bunch of people in my class trying to get onto random games, and I thought "I bet I could make a Python program to do that work for me." So, I thought about how I might do it, but came up empty handed. If anyone knows where I might start that would be great. I would prefer a Python solution, but JS, PHP, or C++ (No pointers please. They scare me) would also work.
You can get data about a Kahoot by sending a GET to "https://kahoot.it/rest/kahoots/<uuid>", where "<uuid>" is the Kahoot's ID (referenced in their schema as "uuid"). You can find this by searching for the Kahoot, which can be done by sending a GET to "https://create.kahoot.it/rest/kahoots/?query=<kahoot name>&limit=25".
You can implement this in Python with the
requests module, to send these HTTP requests, and
json module to parse the response.
You should probably first start by finding an API that contains Kahoot data and then parse that data using the json module.
@KENNETHTRIPP In simple terms, an API pretty much contains live data that you can use in your program. I would recommend that you start by using postman which allows you to view the data from the API which you can then write in Python. For example:
It is important to mention that you also need a unique api key in the URL which most API websites will provide
You can also google tutorials online for API's