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

Support for a random verse? #79

Closed dillfrescott closed 1 year ago

dillfrescott commented 1 year ago

Id like the ability to fetch a random verse from the Bible for use in my matrix bot. Is this possible?

seven1m commented 1 year ago

Yes! https://github.com/seven1m/bible_api/blob/f6f80ee3328265a5f655f3861fb63c70cc542949/app.rb#L43

dillfrescott commented 1 year ago

Awesome! Thank you!