x0xman / Hadith-API

The Bot provide Hadith API and fetch content via api.hadith.sutanlab.id

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bot Hadith-API on Telegram

The Bot provide Hadith API and fetch content via api.hadith.sutanlab.id

Built With

  • Python
  • Asynchronous
  • HTTP protocol client
  • Telegram-Bot

API-Documenation

  • hadith

    GET api.hadith.sutanlab.id/books/{name}?range={number}-{number}

    [Example] https://api.hadith.sutanlab.id/books/muslim?range=1-150

    Parameter value e.g Description
    number 0-300 Returns 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/52

    Parameter value e.g Description
    number 0-300 Returns 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/books

    pattern Type Description
    https://api.hadith.sutanlab.id/books list Returns the list of available Hadith Books.

Authors

👤 Author

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

About

The Bot provide Hadith API and fetch content via api.hadith.sutanlab.id

License:GNU General Public License v3.0


Languages

Language:Python 99.8%Language:Shell 0.2%