Hadith Api Save

Simple Islamic Hadith API with Indonesia Translation.

Project README

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

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

Open Source Agenda is not affiliated with "Hadith Api" Project. README Source: gadingnst/hadith-api

Open Source Agenda Badge

Open Source Agenda Rating