Appearance
@gracious.tech/fetch-client / book / BibleBookTxt
Class: BibleBookTxt
book.BibleBookTxt
Access to the plain text of a Bible book (will be Markdown if headings/notes enabled)
Methods
get_attribution
▸ get_attribution(license?): string
Get appropriate text for attribution (defaults to first license, optionally provide one)
Parameters
| Name | Type |
|---|---|
license? | RuntimeLicense |
Returns
string
Defined in
get_whole
▸ get_whole(options?): string
Get the contents of entire book
Parameters
| Name | Type |
|---|---|
options | GetTxtOptions |
Returns
string
Defined in
get_passage
▸ get_passage(start_chapter, start_verse, end_chapter, end_verse, options?): string
Get txt for a specific passage
Parameters
| Name | Type |
|---|---|
start_chapter | number |
start_verse | number |
end_chapter | number |
end_verse | number |
options | GetTxtOptions |
Returns
string
Defined in
get_chapters
▸ get_chapters(first, last, options?): string
Get txt for multiple chapters
Parameters
| Name | Type |
|---|---|
first | number |
last | number |
options | GetTxtOptions |
Returns
string
Defined in
get_chapter
▸ get_chapter(chapter, options?): string
Get txt for a single chapter
Parameters
| Name | Type |
|---|---|
chapter | number |
options | GetTxtOptions |
Returns
string
Defined in
get_verse
▸ get_verse(chapter, verse, options?): string
Get txt for a single verse
Parameters
| Name | Type |
|---|---|
chapter | number |
verse | number |
options | GetTxtOptions |
Returns
string