apiverve_bible 1.1.14 copy "apiverve_bible: ^1.1.14" to clipboard
apiverve_bible: ^1.1.14 copied to clipboard

Bible is a simple tool for getting bible verses. Simply provide the book, chapter, and verse, and the API will return the verse.

Bible API - Dart/Flutter Client #

Bible is a simple tool for getting bible verses. Simply provide the book, chapter, and verse, and the API will return the verse.

pub package License: MIT

This is the Dart/Flutter client for the Bible API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_bible: ^1.1.14

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_bible/apiverve_bible.dart';

void main() async {
  final client = BibleClient('YOUR_API_KEY');

  try {
    final response = await client.execute({
      'book': 'Genesis',
      'chapter': 5,
      'verse': 17
    });

    print('Status: ${response.status}');
    print('Data: ${response.data}');
  } catch (e) {
    print('Error: $e');
  }
}

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "text": "But with thee will I establish my covenant; and thou shalt come into the ark, thou, and thy sons, and thy wife, and thy sons' wives with thee.",
    "book": "Genesis",
    "abbr": "gn",
    "chapter": 5,
    "verses": [
      17
    ],
    "version": "KJV"
  }
}

API Reference #

Authentication #

All requests require an API key. Get yours at apiverve.com.

License #

MIT License - see LICENSE for details.


Built with Dart for APIVerve

0
likes
140
points
37
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Bible is a simple tool for getting bible verses. Simply provide the book, chapter, and verse, and the API will return the verse.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_bible