SDKs & Libraries

SDKs & Libraries

Official SDKs to integrate QuizAPI into your application. Use a type-safe client library or call the REST API directly from any language.

Coming Soon

We're working on official SDKs for JavaScript/TypeScript and Python. In the meantime, you can use the REST API directly from any language with any HTTP client.

JavaScript / TypeScript

In Development

Python

In Development

REST API

QuizAPI is a standard RESTful API that works with any HTTP client in any programming language. No SDK required.

bash
# List quizzes
curl -X GET "https://quizapi.io/api/v1/quizzes?category=programming&limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"

# Get a single quiz
curl -X GET "https://quizapi.io/api/v1/quizzes/quiz_abc123" \
  -H "Authorization: Bearer YOUR_API_KEY"

# Create a quiz
curl -X POST "https://quizapi.io/api/v1/quizzes" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "React Hooks Quiz",
    "category": "programming",
    "difficulty": "MEDIUM"
  }'

See the full Quizzes API and Questions API reference for all available endpoints, parameters, and response formats.

Contributing

Want to build an SDK for your language? We provide an OpenAPI specification that you can use to auto-generate client code or as a reference when building a client manually.

To get started:

  1. Download the OpenAPI spec from the link above
  2. Use a code generator like openapi-generator or build your client by hand
  3. Follow the authentication patterns described in the Authentication docs
  4. Submit your SDK to our community directory by opening an issue on GitHub