Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tafsir in English Language does not appear while fetching the data from the API by verse or by chapter #646

Open
FaizaQamar opened this issue Oct 9, 2023 · 2 comments

Comments

@FaizaQamar
Copy link

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.

@abdummm
Copy link

abdummm commented Jan 2, 2024

I have this issue as well, were any solutions found?

@sharjeelarif010321
Copy link

Same issue here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants