Which is nice. Problem is; there are so many of them! Each chapter has dozens of verses, there may be a ton of chapters per book, over a lot of translations. This causes millions (!) of JSON files to be created, for each and every verse. This makes maintenance hard, and I think the CDN server isn't too happy about that either. Full chapters are fine, one can simply extract the required verse(s) from there.
The result? For example, If I zipped all the files, including verses it would be 1.2GB of data. Without it, just 237MB.
You give us the following endpoint:
https://cdn.jsdelivr.net/gh/wldeh/bible-api/bibles/${version}/books/${book}/chapters/${chapter}/verses/${verse}.json
Which is nice. Problem is; there are so many of them! Each chapter has dozens of verses, there may be a ton of chapters per book, over a lot of translations. This causes millions (!) of JSON files to be created, for each and every verse. This makes maintenance hard, and I think the CDN server isn't too happy about that either. Full chapters are fine, one can simply extract the required verse(s) from there.
The result? For example, If I zipped all the files, including verses it would be 1.2GB of data. Without it, just 237MB.