quran / quran.com-api

Quran.com content APIs
https://api-docs.quran.foundation/docs/category/content-apis
MIT License
926 stars 193 forks source link

Get Juzs API giving duplicate and abnormal response #678

Open Talha-dev1980 opened 4 months ago

Talha-dev1980 commented 4 months ago

https://api.quran.com/api/v4/juzs this API was giving Juzs correctly but now it is giving me duplicated response like Juz 1 object for two times and Juz 2 also for 2 times and so on till Juz 30 and after that gives null.

{ "id": 27, "juz_number": 27, "verse_mapping": { "51": "31-60", "52": "1-49", "53": "1-62", "54": "1-55", "55": "1-78", "56": "1-96", "57": "1-29" }, "first_verse_id": 4706, "last_verse_id": 5104, "verses_count": 399 }, { "id": 87, "juz_number": 27, "verse_mapping": { "51": "31-60", "52": "1-49", "53": "1-62", "54": "1-55", "55": "1-78", "56": "1-96", "57": "1-29" }, "first_verse_id": 4706, "last_verse_id": 5104, "verses_count": 399 }, { "id": 88, "juz_number": 28, "verse_mapping": { "58": "1-22", "59": "1-24", "60": "1-13", "61": "1-14", "62": "1-11", "63": "1-11", "64": "1-18", "65": "1-12", "66": "1-12" }, "first_verse_id": 5105, "last_verse_id": 5241, "verses_count": 137 }, { "id": 28, "juz_number": 28, "verse_mapping": { "58": "1-22", "59": "1-24", "60": "1-13", "61": "1-14", "62": "1-11", "63": "1-11", "64": "1-18", "65": "1-12", "66": "1-12" }, "first_verse_id": 5105, "last_verse_id": 5241, "verses_count": 137 }, { "id": 29, "juz_number": 29, "verse_mapping": { "67": "1-30", "68": "1-52", "69": "1-52", "70": "1-44", "71": "1-28", "72": "1-28", "73": "1-20", "74": "1-56", "75": "1-40", "76": "1-31", "77": "1-50" }, "first_verse_id": 5242, "last_verse_id": 5672, "verses_count": 431 }, { "id": 89, "juz_number": 29, "verse_mapping": { "67": "1-30", "68": "1-52", "69": "1-52", "70": "1-44", "71": "1-28", "72": "1-28", "73": "1-20", "74": "1-56", "75": "1-40", "76": "1-31", "77": "1-50" }, "first_verse_id": 5242, "last_verse_id": 5672, "verses_count": 431 }, { "id": 30, "juz_number": 30, "verse_mapping": { "78": "1-40", "79": "1-46", "80": "1-42", "81": "1-29", "82": "1-19", "83": "1-36", "84": "1-25", "85": "1-22", "86": "1-17", "87": "1-19", "88": "1-26", "89": "1-30", "90": "1-20", "91": "1-15", "92": "1-21", "93": "1-11", "94": "1-8", "95": "1-8", "96": "1-19", "97": "1-5", "98": "1-8", "99": "1-8", "100": "1-11", "101": "1-11", "102": "1-8", "103": "1-3", "104": "1-9", "105": "1-5", "106": "1-4", "107": "1-7", "108": "1-3", "109": "1-6", "110": "1-3", "111": "1-5", "112": "1-4", "113": "1-5", "114": "1-6" }, "first_verse_id": 5673, "last_verse_id": 6236, "verses_count": 564 }, { "id": 90, "juz_number": 30, "verse_mapping": { "78": "1-40", "79": "1-46", "80": "1-42", "81": "1-29", "82": "1-19", "83": "1-36", "84": "1-25", "85": "1-22", "86": "1-17", "87": "1-19", "88": "1-26", "89": "1-30", "90": "1-20", "91": "1-15", "92": "1-21", "93": "1-11", "94": "1-8", "95": "1-8", "96": "1-19", "97": "1-5", "98": "1-8", "99": "1-8", "100": "1-11", "101": "1-11", "102": "1-8", "103": "1-3", "104": "1-9", "105": "1-5", "106": "1-4", "107": "1-7", "108": "1-3", "109": "1-6", "110": "1-3", "111": "1-5", "112": "1-4", "113": "1-5", "114": "1-6" }, "first_verse_id": 5673, "last_verse_id": 6236, "verses_count": 564 }