Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

An API that shows verses from the Qur'an based on emotions.

NotificationsYou must be signed in to change notification settings

realtouseef/qamar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An API that shows verses from the Qur'an based on emotions.

Theduas.json hasduas picked from eitherQur'an orHadith.AndemotionBasedVerses.json has verses picked fromQur'an only.

Available Duas / Verses

  • Qamar has27 verses inemotionBasedVerses.json
  • And28 duas induas.json

Endpoint

  1. /verses returns all of theverses that are present.

  2. /verses/:id returns averse based on theid.

  3. /duas returns all theduas that are present.

  4. /duas/:duaid returns adua based on theid.

Returned Data

For Verses

{"id":2,"title":"Angry","sub_title":"Extinguish","arabic":"ٱلَّذِينَ يُنفِقُونَ فِى ٱلسَّرَّآءِ وَٱلضَّرَّآءِ وَٱلْكَـٰظِمِينَ ٱلْغَيْظَ وَٱلْعَافِينَ عَنِ ٱلنَّاسِ ۗ وَٱللَّهُ يُحِبُّ ٱلْمُحْسِنِينَ","urdu_translation":"جو آسودگی اور تنگی میں (اپنا مال خدا کی راہ میں) خرچ کرتےہیں اور غصے کو روکتے اور لوگوں کے قصور معاف کرتے ہیں اور خدا نیکو کاروں کو دوست رکھتا ہے","english_translation":"Who spend [in the cause of Allah] during ease and hardship and who restrain anger and who pardon the people - and Allah loves the doers of good","reference":""}

For Duas

{"id":1,"title":"For Forgiveness","arabic":" رَبِّ إِنِّى ظَلَمْتُ نَفْسِى فَٱغْفِرْ لِى","urdu_translation":" اے پروردگار میں نے اپنے آپ پر ظلم کیا تو مجھے بخش دے","english_translation":"My Lord! I have definitely wronged my soul, so forgive me.","reference":""}

PS: Some of thetranslation is not present for now, but will be soon added. If you're interested in making a contribution, please do so.

For Contribution

Please clone this repo by pasting the below code in the terminal

  git clone https://github.com/realtouseef/qamar.git# thencd qamar  yarn# to start the server  yarn start

If you wanna add moreduas orverses, please follow this pattern:

Pattern for Verses

{"id":"","title":"","sub_tite":"","arabic":"","urdu_translation":"","english_translation":"","reference":""}

Pattern for Duas

{"id": ,"title":"","arabic":"","urdu_translation":"","english_translation":"","reference":""}

About

An API that shows verses from the Qur'an based on emotions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

[8]ページ先頭

©2009-2025 Movatter.jp