esv_bible 1.1.4 copy "esv_bible: ^1.1.4" to clipboard
esv_bible: ^1.1.4 copied to clipboard

A future-based dart package for the ESV API from Crossway which can be used to fetch ESV bible passages.

example/main.dart

import 'package:esv_bible/esv_bible.dart';

void main() async {
  const apiKey = 'your-api-key';

  final passage = Passage(apiKey);

  // PassageText
  final passageText = await passage.text('John 3:16');
  print(passageText.passages[0]);

  // PassageAudio
  final passageAudio = await passage.audio('John 3:16');
  print(passageAudio.query);
  print(passageAudio.audio.path);
}
copied to clipboard
4
likes
160
points
59
downloads

Publisher

verified publisherarielmagbanua.com

Weekly Downloads

2024.06.24 - 2025.01.06

A future-based dart package for the ESV API from Crossway which can be used to fetch ESV bible passages.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

equatable, http, json_annotation, path

More

Packages that depend on esv_bible