getbible / Unbound-Biola

Please do not use, Since some of the Scripture Text has errors!!! USE https://github.com/getbible/v2 instead.
Other
59 stars 22 forks source link

Api returning invalid json format #7

Closed TinasheMzondiwa closed 7 years ago

TinasheMzondiwa commented 7 years ago

Firstly thank you for the great work.

Right now it looks like the api is not returning a valid json format. From this call : https://getbible.net/json?scripture=Luke%207:2&v=aov I get below response:

({"book":[{"book_ref":"Lk","book_name":"Lukas","book_nr":"42","chapter_nr":"7","chapter":{"2":{"verse_nr":"2","verse":"En die dienskneg van 'n sekere hoofman oor honderd, wat vir hom baie werd was, was ongesteld en het op sterwe gel\u00ea."}}}],"direction":"LTR","type":"verse","version":"aov"});

I believe the '(' and ');' should not be there. Is this correct?

Llewellynvdm commented 7 years ago

Please view this issue https://github.com/getbible/Joomla-3-Component/issues/14

Llewellynvdm commented 5 years ago

Amazing news, have a look at https://github.com/getbible/v1#getbible-api-v1 the new easy expansion of the getBible API