This site shows how to use The Trivia API to build a basic quiz web app using Django. This demo uses the package the-trivia-api-library.
1: What's fidel castro's brother's name?
{
"category": "history",
"id": "622a1c367cc59eab6f9503c3",
"correctAnswer": "Raoul",
"incorrectAnswers": [
"Pedro",
"Mikel",
"Sergio"
],
"question": {
"text": "What's fidel castro's brother's name? "
},
"tags": [
"history"
],
"type": "text_choice",
"difficulty": "medium",
"regions": [],
"isNiche": false,
"choices": [
"Raoul",
"Pedro",
"Mikel",
"Sergio"
]
}