get_lesson_lab
Retrieve a lesson's Jupyter notebook and code from DeepLearning.AI courses. Get clean Markdown with explanations and code blocks, or raw .ipynb JSON.
Instructions
Get the Jupyter Lab notebook and code for a lesson. Returns clean interleaved Markdown (explanations + code blocks) by default, or raw .ipynb JSON if raw_json=True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw_json | No | ||
| course_slug | Yes | ||
| lesson_slug_or_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |