Trivia Quiz (with APIs)

Welcome to the Trivia Quiz (with APIs) page.

This page contains a brief description and implementation instructions for the project.

Project Description

A trivia quiz that fetches questions from an online API (e.g. Open Trivia DB). Presents questions and choices to the user in the terminal.

Project Requirements

Python 3.x, requests library.

How to Run the Project

  1. Write a script (e.g. trivia.py) using requests to call a trivia API and retrieve questions in JSON.
  2. Run it: python trivia.py. It displays questions and collects answers, then shows score.

Key Concepts Learned

Possible Extensions

Troubleshooting & Debugging

See Troubleshooting & Debugging.

← Back to Python Programming Page