biblebrain_dart

A dart wrapper for the Bible Brain (aka Digital Bible Platform v4) API.

Getting started

NOTE: You will need an API Key, which can be obtained by submitting a request here.

Install the biblebrain_dart package:

dependencies:
  biblebrain_dart: ^1.0.0

Then you can import it in your Dart code:

import 'package:biblebrain_dart/biblebrain_dart.dart';

Usage

final client = BibleBrainClient(apiKey: '<API-KEY>');

// Alphabet endpoints
final alphabets = await client.alphabet.getAlphabets();
final alphabet = await client.alphabet.getAlphabet('Latn');

// Bible endpoints
final bibles = await client.bible.getBibles();
final bible = await client.bible.getBible('ENGKJV');
final books = await client.bible.getBooks('ENGKJV');
final copyright = await client.bible.getCopyright('ENGKJV');
final chapter = await client.bible.getChapter('ENGKJV', 'GEN', 1);
final defaultBibles = await client.bible.getDefaultBibles();
final mediaTypes = await client.bible.getMediaTypes();

// Country endpoints
final countries = await client.country.getCountries();
final country = await client.country.getCountry('PH');

// Language endpoints
final languages = await client.language.getLanguages();
final language = await client.language.getLanguage(6513);

// Number endpoints
final numbers = await client.number.getNumbers();
final number = await client.number.getNumber('thai');

// Search endpoints
final searches = await client.search.search('love', 'ENGKJV');

// Timestamp endpoints
final filesets = await client.timestamp.getFilesetsWithTimestamps();
final timestamps = await client.timestamp.getTimestamps('ENGKJVO1DA', 'GEN', 1);

Support

If you like my work and want to support me, buying me a coffee would be awesome! Thanks for your support!

Buy Me A Coffee


Mark Ivan BastoGitHub @MarkIvanDevTwitter @Rivolvan_Speaks