seven1m / bible_api

Ruby web app that serves JSON API for open and public domain bibles
https://bible-api.com
MIT License
538 stars 101 forks source link

Single chapter books #94

Open arthurogunfiye opened 6 months ago

arthurogunfiye commented 6 months ago

I tried to get single chapter books like Obadiah, Philemon, Jude etc but only got the first verse.

I tried the name of the book alone e.g. https://bible-api.com/jude

I tried the name of the book and 1 e.g. https://bible-api.com/jude%201

I tried other things but nothing worked.

Would you be so kind as to look into this issue please?

Thank you.

seven1m commented 6 months ago

I'm sorry, but I don't have a great solution for this that works for everyone. More details in this comment: https://github.com/seven1m/bible_api/issues/51#issuecomment-799456431

Returning the whole chapter when just the book name is given could work... 🤔

arthurogunfiye commented 6 months ago

Thank you for responding @seven1m. I appreciate and commend the time and effort you put into implementing this API.