Getting All Verses in a Chapter
Ryan O'Dowd
Hi there, it sounds like you might be looking for the
/v1/bibles/{bibleId}/chapters/{chapterId}
endpoint. (Documentation is at https://scripture.api.bible/livedocs#/Chapters/getChapter.)Hope this helps!
t
thirstytraveler@mac.com
Dear Ryan O'Dowd,
I've kept trying, but every API returns
{"statusCode":503,"error":"Service Unavailable","message":"Service Unavailable"}
My apps' stat are live, so I tried using every credentials, but always gets 503.
What I can do?
Thank you for your hard work.
Blessings on HolyWeek.
Ryan O'Dowd
thirstytraveler@mac.com, could you please send the full URL you're trying to hit? A 503 is a server-side issue, but I'm getting 200s, so it seems that the API is currently up.
t
thirstytraveler@mac.com
Ryan O'Dowd,
Thank you so much.
It differs every time.
e.g.
https://api.scripture.api.bible/v1/bibles?language=eng
returns sometimes 200 and sometimes 503.
https://api.scripture.api.bible/v1/bibles/bba9f40183526463-01/chapters/LEV.1?content-type=json&include-notes=false&include-titles=true&include-chapter-numbers=false&include-verse-numbers=true&include-verse-spans=false
returns both 200 and 403.
I have no idea why their response varies...
Ryan O'Dowd
thirstytraveler@mac.com, that's odd if it's sometimes a 200 and sometimes a 503. Because the 5xx is server-side, that's something API.Bible support will probably have to help with. I'm getting only 200s on those endpoints, and since you're seeing that some of the time as well, the only things I can think of are rate limiting or a server-side issue. If you log in and select your application at https://scripture.api.bible/admin/applications/, there's an "API Alerts" section at the bottom that will tell you if any limits are being hit. I can confirm that the endpoints look correct, but I wish I had more to help you troubleshoot!