> For the complete documentation index, see [llms.txt](https://docs.autocontentapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autocontentapi.com/code-samples/quizzes/python.md).

# Python

Python requests snippets that mirror the quiz recipes for text, website and topic sources, difficulty and language, and projectId brand settings.

Python `requests` snippets that mirror the [quiz scenario recipes](https://docs.autocontentapi.com/quick-start/quizzes/quiz-examples.md). See the [Python guide](https://docs.autocontentapi.com/code-samples/language-quickstarts/python.md) for setup.

## Recipes

* [📝 Create a Quiz from Text](https://docs.autocontentapi.com/code-samples/quizzes/python/from-text.md)
* [🔗 Create a Quiz from a Website](https://docs.autocontentapi.com/code-samples/quizzes/python/from-website.md)
* [🎚️ Set Difficulty and Language](https://docs.autocontentapi.com/code-samples/quizzes/python/set-difficulty-and-language.md)
* [💡 Create a Quiz from a Topic Prompt](https://docs.autocontentapi.com/code-samples/quizzes/python/from-topic.md)
* [🏢 Apply Brand Settings with `projectId`](https://docs.autocontentapi.com/code-samples/quizzes/python/brand-with-project-id.md)

Need cURL? Jump back to the [quick-start examples](https://docs.autocontentapi.com/quick-start/quizzes/quiz-examples.md).
