esv_bible 1.1.3 copy "esv_bible: ^1.1.3" to clipboard
esv_bible: ^1.1.3 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);
}
4
likes
150
points
96
downloads

Publisher

verified publisherarielmagbanua.com

Weekly Downloads

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