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

outdated

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
0
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

License

unknown (license)

Dependencies

equatable, http, json_annotation

More

Packages that depend on esv_bible