Cyberlibrary Get Toc
cyberlibrary_get_tocTable of contents for one book: ordered chapters with their real titles. When to use: right after cyberlibrary_book_meta, to pick which chapter to read; this is the cheapest way to survey a long book (single HTML read regardless of chapter count). Do not use: to read prose (call cyberlibrary_get_chapter). Returns: {lang, slug, total_chapters, page, total_pages, chapters[{chapter, title, url}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | Yes | ||
| page | No | 1-based page of the chapter list. Default 1. | |
| slug | Yes | ||
| per_page | No | Chapters per page (1-500). Default 100. |