Git Product home page Git Product logo

Comments (6)

fawazahmed0 avatar fawazahmed0 commented on July 20, 2024

Book 4 refers to section 4 and so on.

from hadith-api.

unkn4wn avatar unkn4wn commented on July 20, 2024

Assalaamualikum brother,

I need all the books in a database, i'm converting all this json into a RDBMS but i have a little confusion..

///////////////////

  "reference": {

    "book": 4,

    "hadith": 1

  }

////////////////

Can you explain this bit, how does this work, i mean what is this book number and hadith number does it refers to the book of the same number and like wise hadith if so then book number shouldn't exceed 6, or in this case 7, but it does.

Please correct me!

Thank you!

Wa aleykum assalam wa rahmatullahi wa barakatuh,
It would be great if you upload your RDBMS or the script after you've finished, so we can all benefit from that.

from hadith-api.

kaisersakhi avatar kaisersakhi commented on July 20, 2024

Book 4 refers to [section 4](https://fawazahmed0.github.io/hadiths/data.html?edition=eng-abudawud&type=section&num=4#:~:text=Search-,Section%204,-%3A%20Prayer%20(Kitab%20Al) and so on.

Sorry brother, i didn't got it .
//////////////////////////
{
"metadata": {
"name": "Sahih al Bukhari",
"section": {
"97": "Oneness, Uniqueness of Allah (Tawheed)"
}
},
"hadiths": [
{
"hadithnumber": 7562,
"arabicnumber": 7562,
"text": "Narrated Abu Sa`id Al-Khudri:The Prophet (ﷺ) said, "There will emerge from the East some people who will recite the Qur'an but it will not exceed their throats and who will go out of (renounce) the religion (Islam) as an arrow passes through the game, and they will never come back to it unless the arrow, comes back to the middle of the bow (by itself) (i.e., impossible). The people asked, "What will their signs be?" He said, "Their sign will be the habit of shaving (of their beards and their heads). (Fath-ul-Bari, Page 322, Vol. 17th)",
"grades": [],
"reference": {
"book": 97,
"hadith": 187
}
}
]
}
////////////////////////////
please explain it in this context.

from hadith-api.

kaisersakhi avatar kaisersakhi commented on July 20, 2024

Assalaamualikum brother,
I need all the books in a database, i'm converting all this json into a RDBMS but i have a little confusion..
///////////////////

  "reference": {

    "book": 4,

    "hadith": 1

  }

////////////////
Can you explain this bit, how does this work, i mean what is this book number and hadith number does it refers to the book of the same number and like wise hadith if so then book number shouldn't exceed 6, or in this case 7, but it does.
Please correct me!
Thank you!

Wa aleykum assalam wa rahmatullahi wa barakatuh, It would be great if you upload your RDBMS or the script after you've finished, so we can all benefit from that.

Inshallah brother, I will do that once done

from hadith-api.

fawazahmed0 avatar fawazahmed0 commented on July 20, 2024

what is this book number and hadith number does it refers to the book of the same number and like wise hadith if so then book number shouldn't exceed 6, or in this case 7, but it does.

book number refers to section number and book number is always same as section number

For example, if book number is 97, then it refers to section number 97 : Oneness, Uniqueness of Allah (Tawheed).

Extra Information:

The reason I used "book" instead of "section" is because, in arabic version they refer the "section" as "book"
For example, the section number 97 Oneness, Uniqueness of Allah (Tawheed) is called as كتاب التوحيد or kitab al tawheed (book of taweed ) in arabic.
And when scholars give reference to a hadith, they will sometimes give reference as book 97, hadith 187 (and not section 97, hadith 187). That's the only reason for using "book" instead of "section".

from hadith-api.

kaisersakhi avatar kaisersakhi commented on July 20, 2024

Thank you so much brother, I've been idiot all this time !

from hadith-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.