I'm using the API to get the names of all Bible books as follows (Delphi code)
BibleData := LogosApp.DataTypes.GetDataType('Bible').Details as LogosBibleDataTypeDetails;
I can then use FirstBook and NextBook to get a list of all books and I then drill into this to get the chapters for each book and verses for each chapter. In this way I can build a dynamic Bible Reference selection screen.
Fine so far.
BUT - the line GetDataType('Bible') does not allow me to specify which Bible I want. Weirdly, it works for the English Standard Version (GetDataType('BibleESV')) but not for others - GetDataType('BibleNIV') or GetDataType('BibleRSV') return nothing...
The reason for the request is simple - not all Bibles have the same books (Apocrapha etc) or the same verse numberings and I would like to code the verse selector to work with 'typical' Bibles and not so typical Bibles...
So, in other words, I would like every Bible in Logos to have a datatype of LogosBibleDataTypeDetails in the same way that the ESV (apparently) does...