sunnah-com / api

API for sunnah.com
https://sunnah.com
332 stars 63 forks source link

Empty hadith data for Mawatta Malik #169

Open skali007 opened 3 years ago

skali007 commented 3 years ago

Assalamu alaikum warahmatullahi wa barakatuhu,

I am having an issue when trying to retrieve data for Mawatta Malik , I am able to retrieve hadith from other collections but when trying to get data from Mawatta Malik using following endpoint:

Request: https://api.sunnah.com/v1/collections/malik/books/[n]/hadiths Response: stdClass Object ( [data] => Array ( ) [total] => 0 [limit] => 50 [previous] => [next] => )

Request: https://api.sunnah.com/v1/collections/bukhari/books/[n]/hadiths The above bukhari request return response as expected.

can you please advise whats wrong with Mawatta Malik?

JazakAllah Khairan

skali007 commented 3 years ago

same is the case with:

https://api.sunnah.com/v1/collections/riyadussaliheen/books/1/hadiths

skali007 commented 3 years ago

any update on this?

ahadith commented 3 years ago

Wa`alaykum ussalam warahmatullahi wabarakatuh

Apologies for the delayed response. Muwatta Malik has not been verified yet and as such is not available through the API. Only books that have been verified and correctly numbered are available through the API. We are working on completing verification.

As for Riyad as-Salihin, try riyadussalihin instead of riyadussaliheen.

skali007 commented 3 years ago

Understood and its better to take every precautions possible.

In this regard, we would like to help & contribute in the verification of pending ahadith.

If we can get the pending ahadith data and the standard steps that are being followed for the verification of ahadith across all collections, we would like to help and expedite.