Skip to main content

QuizGecko API Wrapper

A clean Python client for the QuizGecko API. Supports quiz generation, uploads, questions, and language listing.

Installation

pip install quizgecko

Quickstart

from quizgecko import Client, BearerAuth, endpoints

# Initialize
client = Client(BearerAuth('YOUR_API_KEY'))

# Create a quiz
quiz = endpoints.generate.create_quiz(
    client,
    text = 'Physics is the study of matter, energy, and their interactions.',
    question_type = 'multiple_choice',
    difficulty = 'easy'
)

# Wait until processing finishes
completed = endpoints.generate.wait_for_completion(client, quiz['quiz']['id'])

# View generated questions
for question in completed['questions']:
    print(question['text'])

Endpoints

Module Description
endpoints.generate Create and poll quiz generation jobs
endpoints.quiz Retrieve and update quizzes
endpoints.questions Update individual questions
endpoints.upload Upload files for content generation
endpoints.languages List supported languages

Development

git clone https://github.com/kalenmcmillan/quizgecko.git
cd quizgecko
python -m pip install -e .
pytest

License

MIT License © 2025 Kalen McMillan

Metadata

Release files for quizgecko 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quizgecko 0.1.2
File Size Uploaded
quizgecko-0.1.2.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quizgecko 0.1.2
File Interpreter ABI Platform
quizgecko-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 16.6 kB

Release files / quizgecko-0.1.2.tar.gz

Download URL quizgecko-0.1.2.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
311ab2b4688c794a9c500113b8bbdec158c32bf050885c3dd3694b7c87351c30
BLAKE2b-256 checksum
How to use checksums
8ece871efe8d055bfd1550ab4df9324edc62d5ad0d1884c53614672f77e2beff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / quizgecko-0.1.2-py3-none-any.whl

Download URL quizgecko-0.1.2-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
142a0b42c6e61007d37716b6338e141cecbefbb38d088b25aa139f44e479a111
BLAKE2b-256 checksum
How to use checksums
598e3b67b604683124b6cf3ab71be92f28bf4a73afe1623a310311f05d514472
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page