Skip to content

Simple Islamic Hadith API with Indonesia Translation.

License

Notifications You must be signed in to change notification settings

FIRSTPLATO/hadith-api

This branch is 16 commits behind gadingnst/hadith-api:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Gading
Sep 5, 2020
f207781 · Sep 5, 2020

History

11 Commits
Sep 2, 2020
Sep 2, 2020
Sep 2, 2020
Sep 2, 2020
Sep 2, 2020
Sep 2, 2020
Sep 2, 2020
Sep 2, 2020
Sep 5, 2020
Sep 2, 2020
Sep 2, 2020
Sep 2, 2020
Sep 2, 2020
Sep 2, 2020

Repository files navigation

Hadith - API

Simple Islamic Hadith API with Indonesia Translation.

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

About

Simple Islamic Hadith API with Indonesia Translation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%