Open FaizaQamar opened 1 year ago
I have tried multiple end points to fetch the tafsir of individual verses and chapters as well in the English Language. But it does not return it in the response. Sample end point used to make request is mentioned below.
Endpoint: https://api.quran.com/api/v4/verses/by_chapter/1?tafsirs=168 Response: { "verses": [ { "id": 1, "verse_number": 1, "verse_key": "1:1", "hizb_number": 1, "rub_el_hizb_number": 1, "ruku_number": 1, "manzil_number": 1, "sajdah_number": null, "page_number": 1, "juz_number": 1 }, { "id": 2, "verse_number": 2, "verse_key": "1:2", "hizb_number": 1, "rub_el_hizb_number": 1, "ruku_number": 1, "manzil_number": 1, "sajdah_number": null, "page_number": 1, "juz_number": 1 }, { "id": 3, "verse_number": 3, "verse_key": "1:3", "hizb_number": 1, "rub_el_hizb_number": 1, "ruku_number": 1, "manzil_number": 1, "sajdah_number": null, "page_number": 1, "juz_number": 1 }, { "id": 4, "verse_number": 4, "verse_key": "1:4", "hizb_number": 1, "rub_el_hizb_number": 1, "ruku_number": 1, "manzil_number": 1, "sajdah_number": null, "page_number": 1, "juz_number": 1 }, { "id": 5, "verse_number": 5, "verse_key": "1:5", "hizb_number": 1, "rub_el_hizb_number": 1, "ruku_number": 1, "manzil_number": 1, "sajdah_number": null, "page_number": 1, "juz_number": 1 }, { "id": 6, "verse_number": 6, "verse_key": "1:6", "hizb_number": 1, "rub_el_hizb_number": 1, "ruku_number": 1, "manzil_number": 1, "sajdah_number": null, "page_number": 1, "juz_number": 1 }, { "id": 7, "verse_number": 7, "verse_key": "1:7", "hizb_number": 1, "rub_el_hizb_number": 1, "ruku_number": 1, "manzil_number": 1, "sajdah_number": null, "page_number": 1, "juz_number": 1 } ], "pagination": { "per_page": 10, "current_page": 1, "next_page": null, "total_pages": 1, "total_records": 7 } }
Other end point: https://api.quran.com/api/v4/verses/by_key/2:5?language=en&words=false&tafsirs=168
But if I use any other language for tafsir e.g. 166 - Bengali, It returns the tafsir. Please look into it.
I have this issue as well, were any solutions found?
Same issue here!
I have tried multiple end points to fetch the tafsir of individual verses and chapters as well in the English Language. But it does not return it in the response. Sample end point used to make request is mentioned below.
Endpoint: https://api.quran.com/api/v4/verses/by_chapter/1?tafsirs=168 Response: { "verses": [ { "id": 1, "verse_number": 1, "verse_key": "1:1", "hizb_number": 1, "rub_el_hizb_number": 1, "ruku_number": 1, "manzil_number": 1, "sajdah_number": null, "page_number": 1, "juz_number": 1 }, { "id": 2, "verse_number": 2, "verse_key": "1:2", "hizb_number": 1, "rub_el_hizb_number": 1, "ruku_number": 1, "manzil_number": 1, "sajdah_number": null, "page_number": 1, "juz_number": 1 }, { "id": 3, "verse_number": 3, "verse_key": "1:3", "hizb_number": 1, "rub_el_hizb_number": 1, "ruku_number": 1, "manzil_number": 1, "sajdah_number": null, "page_number": 1, "juz_number": 1 }, { "id": 4, "verse_number": 4, "verse_key": "1:4", "hizb_number": 1, "rub_el_hizb_number": 1, "ruku_number": 1, "manzil_number": 1, "sajdah_number": null, "page_number": 1, "juz_number": 1 }, { "id": 5, "verse_number": 5, "verse_key": "1:5", "hizb_number": 1, "rub_el_hizb_number": 1, "ruku_number": 1, "manzil_number": 1, "sajdah_number": null, "page_number": 1, "juz_number": 1 }, { "id": 6, "verse_number": 6, "verse_key": "1:6", "hizb_number": 1, "rub_el_hizb_number": 1, "ruku_number": 1, "manzil_number": 1, "sajdah_number": null, "page_number": 1, "juz_number": 1 }, { "id": 7, "verse_number": 7, "verse_key": "1:7", "hizb_number": 1, "rub_el_hizb_number": 1, "ruku_number": 1, "manzil_number": 1, "sajdah_number": null, "page_number": 1, "juz_number": 1 } ], "pagination": { "per_page": 10, "current_page": 1, "next_page": null, "total_pages": 1, "total_records": 7 } }
Other end point: https://api.quran.com/api/v4/verses/by_key/2:5?language=en&words=false&tafsirs=168
But if I use any other language for tafsir e.g. 166 - Bengali, It returns the tafsir. Please look into it.