quran.com-api
quran.com-api copied to clipboard
Search returns all language despite language param is spesific (eg: en)
Assalamualaikum I saw this issue https://github.com/quran/quran.com-frontend/issues/826 and did check the networks and found these endpoints
- https://quran.com/api/api/v3/search?q=in%20the%20name&language=en
- https://quran.com/api/api/v3/suggest?q=in%20the%20name&language=en
will return result regardless the language.
It also return any ayah that have even a word in the input (eg: in
, at
) altough it contain many words (eg: in the name
).
I think it will be more helpful if it returns:
- in the name -> ayah that has 'in' & 'the' & 'name' in its english translation
- "in the name" -> ayah that has "in the name" in its english translation