Skip to content

@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

NameType
license?RuntimeLicense

Returns

string

Defined in

client/src/book.ts:324


get_whole

get_whole(options?): string

Get the contents of entire book

Parameters

NameType
optionsGetTxtOptions

Returns

string

Defined in

client/src/book.ts:345


get_passage

get_passage(start_chapter, start_verse, end_chapter, end_verse, options?): string

Get txt for a specific passage

Parameters

NameType
start_chapternumber
start_versenumber
end_chapternumber
end_versenumber
optionsGetTxtOptions

Returns

string

Defined in

client/src/book.ts:350


get_chapters

get_chapters(first, last, options?): string

Get txt for multiple chapters

Parameters

NameType
firstnumber
lastnumber
optionsGetTxtOptions

Returns

string

Defined in

client/src/book.ts:403


get_chapter

get_chapter(chapter, options?): string

Get txt for a single chapter

Parameters

NameType
chapternumber
optionsGetTxtOptions

Returns

string

Defined in

client/src/book.ts:411


get_verse

get_verse(chapter, verse, options?): string

Get txt for a single verse

Parameters

NameType
chapternumber
versenumber
optionsGetTxtOptions

Returns

string

Defined in

client/src/book.ts:416