bible_api icon indicating copy to clipboard operation
bible_api copied to clipboard

Support for chapter ranges

Open Kyle-Verhoog opened this issue 4 years ago • 2 comments

Hi! Thanks for the awesome project!

Is support for chapter ranges something that you'd consider?

eg https://bible-api.com/romans 12-14 currently returns results for Romans 12, 14 (skips 13).

Not sure if this is the expected behaviour or not but chapter ranges would be nice to have 🙂

Kyle-Verhoog avatar Mar 15 '20 01:03 Kyle-Verhoog

Actually only single chapters are supposed to work. It's a bug that you can pass a range.

To fetch more than one chapter, you would need to make more than one request...

seven1m avatar Mar 16 '20 21:03 seven1m

Ah gotcha 😆. I'll leave the issue open for the bug then.

Kyle-Verhoog avatar Mar 31 '20 22:03 Kyle-Verhoog