Appearance
@gracious.tech/fetch-client / client / BibleClient
Class: BibleClient
client.BibleClient
A client for interacting with a fetch(bible) CDN
Constructors
constructor
• new BibleClient(config?
)
Create a new BibleClient, defaulting to the official fetch(bible) collection
Parameters
Name | Type |
---|---|
config | BibleClientConfig |
Methods
fetch_collection
▸ fetch_collection(): Promise
<BibleCollection
>
Fetch the collection's manifest and return a BibleCollection object for interacting with it
Returns
Promise
<BibleCollection
>