The Bot provide Hadith API and fetch content via api.hadith.sutanlab.id
- Python
- Asynchronous
- HTTP protocol client
- Telegram-Bot
-
hadith
GET api.hadith.sutanlab.id/books/{name}?range={number}-{number}
[Example]
https://api.hadith.sutanlab.id/books/muslim?range=1-150Parameter value e.g Description number0-300Returns hadiths by range of number. (Note: For performance reasons, max accepted range: 300)name['muslim','bukhari','tirmidzi','nasai','abu-daud','ibnu-majah','ahmad','darimi','malik']Returns hadiths by range of number. (Note: For performance reasons, max accepted range: 300) -
spesific
GET api.hadith.sutanlab.id/books/{name}/{number}
[Example]
https://api.hadith.sutanlab.id/books/bukhari/52Parameter value e.g Description number0-300Returns hadiths by range of number. (Note: For performance reasons, max accepted range: 300)name['muslim','bukhari','tirmidzi','nasai','abu-daud','ibnu-majah','ahmad','darimi','malik']Returns spesific hadith -
endpoints
GET api.hadith.sutanlab.id/books
[Example]
https://api.hadith.sutanlab.id/bookspattern Type Description https://api.hadith.sutanlab.id/bookslistReturns the list of available Hadith Books.
👤 Author
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!