Giter Site home page Giter Site logo

gadingnst / hadith-api Goto Github PK

View Code? Open in Web Editor NEW
291.0 2.0 75.0 20.32 MB

Simple Islamic Hadith API with Indonesia Translation.

Home Page: https://api.hadith.gading.dev

License: MIT License

TypeScript 100.00%
express free-api hacktoberfest hacktoberfest2022 hadith hadith-api hadith-books hadith-db hadiths islamic-app

hadith-api's Introduction

Hadith - API

Simple Islamic Hadith API with Indonesia Translation.

Deploy

Already deployed in [https://api.hadith.gading.dev] or you can deploy your own at:

Deploy your own with Vercel

Data Source

Available Hadith

  • Muslim
  • Bukhari
  • Tirmidzi
  • Nasai
  • Abu Daud
  • Ibnu Majah
  • Ahmad
  • Darimi
  • Malik
  • Your contribution ?

Features

  • Arabic
  • Indonesia Translation
  • Your contribution ?

Endpoint usage

  • /books = Returns the list of available Hadith Books.
  • /books/{name}?range={number}-{number} = Returns hadiths by range of number. Example: /books/bukhari?range=300-500. (Note: For performance reasons, max accepted range: 300)
  • /books/{name}/{number} = Returns spesific hadith. Example: /books/muslim/5

Example Response

Fetching on HR. Muslim No. 5

/books/muslim/5

Recommended Arabic Fonts

Available Commands

  • yarn start = run server.
  • yarn dev = run develop server.
  • yarn crawl = collect new data from the data source, then unifying it in one JSON file.

LICENSE

MIT

Support or Donate Me

Global

ko-fi

Indonesia


Copyright © 2020 by Sutan Gading Fadhillah Nasution

hadith-api's People

Contributors

gadingnst avatar imgbotapp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hadith-api's Issues

empty data

Ahmad's hadith is only available up to 12.
image

Add chapter title

Every hadith should be group in a chapter(based on the original source) so it can give correct context about the meaning.

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.