bible_api
bible_api copied to clipboard
Request url for book with number
On top of '1 chronicles' and '2 chronicles' as input, may be can consider to add 'first chronicles' and 'second chronicles'. Also for the rest of the multiple books. Thanks :)
I also have a use case for this - although i can easily work around it, so it's not necessary. https://github.com/meichthys/sword_drill/issues/5
On top of '1 chronicles' and '2 chronicles' as input, may be can consider to add 'first chronicles' and 'second chronicles'. Also for the rest of the multiple books. Thanks :)
I would recommend processing your input before making the request. You're reducing complexity for @seven1m, alleviating processing on the API/server, reducing overhead during transport and it isn't as costly to process it on your input. I had a similar use case and decided to address it with an array of all the books and included possible variations (i.e. array is greater than the 66 books). The added benefit is you can also handle future (language) translations should you take on the enhancement.