Published
Edited
Aug 28, 2019
3 forks
3 stars
Insert cell
md`# Export Kahoot Quiz As CSV`
Insert cell
viewof kahootQuizId = text({title: 'Kahoot Quiz Id', placeholder: 'enter here ...', submit: 'go'})
Insert cell
{
if (quiz.title === undefined) {
return md `### Quiz Id is empty or wrong`
} else {
return md `### ${quiz.title} is ready. Download below`
}
}

Insert cell
DOM.download(csvBlob, quiz.title + '.csv', "Download CSV" )
Insert cell
Insert cell
Insert cell
quiz = {
let response = await fetch(`https://cors-anywhere.herokuapp.com/https://create.kahoot.it/rest/kahoots/${kahootQuizId}`);
response = await response.json();
return response;
}
Insert cell
Insert cell
_ = require('lodash');
Insert cell
import {text, select} from "@jashkenas/inputs"
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more