Skip to content

Commit 798eb93

Browse files
Jonas Saabelclaude
andcommitted
feat: add Kotlin Jupyter notebooks for library demonstration
Add 6 comprehensive Kotlin Jupyter notebooks demonstrating the Kotlin Notion Client: 1. Getting Started - Basic setup and authentication 2. Reading Databases and Data Sources - Querying with filters and sorting 3. Creating Pages - Database pages, child pages, properties, icons, and covers 4. Working with Blocks - Retrieving, creating, updating, and deleting blocks 5. Rich Text DSL - All formatting, colors, links, dates, and equations 6. Advanced Queries - Complex filtering, AND/OR logic, sorting, and pagination All notebooks tested against live Notion API with 50+ working examples. Includes concise project journal documenting workflow patterns and best practices. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent d5a9687 commit 798eb93

File tree

58 files changed

+4649
-759
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+4649
-759
lines changed

QUICKSTART.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,18 @@ val results = notion.search.search {
221221

222222
## Next Steps
223223

224+
### Interactive Learning (Recommended)
225+
226+
The **[Kotlin Notebooks](notebooks/)** provide the best learning experience with 50+ live examples:
227+
1. [Getting Started](notebooks/01-getting-started.ipynb) - Authentication and basic operations
228+
2. [Reading Databases](notebooks/02-reading-databases.ipynb) - Querying with filters and sorting
229+
3. [Creating Pages](notebooks/03-creating-pages.ipynb) - Pages, properties, icons, and covers
230+
4. [Working with Blocks](notebooks/04-working-with-blocks.ipynb) - All block types and operations
231+
5. [Rich Text DSL](notebooks/05-rich-text-dsl.ipynb) - Formatting, colors, links, dates, equations
232+
6. [Advanced Queries](notebooks/06-advanced-queries.ipynb) - Complex filtering, AND/OR logic, pagination
233+
234+
### API Documentation
235+
224236
- **[Pages API](docs/pages.md)** - Learn all page operations
225237
- **[Data Sources API](docs/data-sources.md)** - Master querying and filtering
226238
- **[Databases API](docs/databases.md)** - Understand container operations

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,24 @@ See [docs/databases.md](docs/databases.md) and [docs/data-sources.md](docs/data-
143143
## Documentation
144144

145145
- **[Quick Start Guide](QUICKSTART.md)** - Get up and running in 5 minutes
146+
- **[Kotlin Notebooks](notebooks/)** - Interactive Jupyter notebooks with 50+ examples (recommended for learning)
146147
- **[API Documentation](docs/)** - Detailed guides for each API category
147148
- **[Rich Text DSL](docs/rich-text-dsl.md)** - Working with formatted text
148149
- **[Error Handling](docs/error-handling.md)** - Understanding and handling errors
149150
- **[Testing](docs/testing.md)** - Testing your Notion integrations
150151

152+
### Learning Resources
153+
154+
The **[Kotlin Notebooks](notebooks/)** are the best way to learn the library:
155+
1. [Getting Started](notebooks/01-getting-started.ipynb) - Authentication and basic operations
156+
2. [Reading Databases](notebooks/02-reading-databases.ipynb) - Querying with filters and sorting
157+
3. [Creating Pages](notebooks/03-creating-pages.ipynb) - Pages, properties, icons, and covers
158+
4. [Working with Blocks](notebooks/04-working-with-blocks.ipynb) - All block types and operations
159+
5. [Rich Text DSL](notebooks/05-rich-text-dsl.ipynb) - Formatting, colors, links, dates, equations
160+
6. [Advanced Queries](notebooks/06-advanced-queries.ipynb) - Complex filtering, AND/OR logic, pagination
161+
162+
All notebooks use live Notion API and can be run in IntelliJ IDEA or Jupyter.
163+
151164
## Building from Source
152165

153166
```bash

0 commit comments

Comments
 (0)