{"id":25190090,"url":"https://github.com/rakibrahman/hadith-api","last_synced_at":"2025-05-07T18:24:49.233Z","repository":{"id":52203319,"uuid":"363756487","full_name":"RakibRahman/hadith-api","owner":"RakibRahman","description":"A Open Source API for hadiths in Bangla for the first time.","archived":false,"fork":false,"pushed_at":"2022-11-15T08:15:52.000Z","size":141,"stargazers_count":22,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T12:58:07.651Z","etag":null,"topics":["api","heroku-deployment","javascript","json","open-source"],"latest_commit_sha":null,"homepage":"https://bn-hadith-api.herokuapp.com/hadiths","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RakibRahman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-02T21:47:12.000Z","updated_at":"2024-07-06T18:06:58.000Z","dependencies_parsed_at":"2023-01-22T15:15:21.838Z","dependency_job_id":null,"html_url":"https://github.com/RakibRahman/hadith-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RakibRahman%2Fhadith-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RakibRahman%2Fhadith-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RakibRahman%2Fhadith-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RakibRahman%2Fhadith-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RakibRahman","download_url":"https://codeload.github.com/RakibRahman/hadith-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252932613,"owners_count":21827340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","heroku-deployment","javascript","json","open-source"],"created_at":"2025-02-09T21:18:54.012Z","updated_at":"2025-05-07T18:24:49.213Z","avatar_url":"https://github.com/RakibRahman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hadith API\n\nA API for hadiths in bengali language for the first time!\n\nFrom this API you will get:\n\n- Hadith narrator\n- Hadith number\n- Hadith authenticity\n\nAPI: https://bn-hadith-api.herokuapp.com/hadiths\n\nTo fetch data from this api you can use following examples:\n\n### Using Promise:\n\n```\nfetch('https://bn-hadith-api.herokuapp.com/hadiths')\n  .then(response =\u003e response.json())\n  .then(data =\u003e console.log(data));\n```\n\n### Using Async/Await:\n\n```\nasync function () {\n  const fetchAPI = fetch(`https://bn-hadith-api.herokuapp.com/hadiths`);\n  const response = await fetchAPI;\n  const data = await response.json();\n  console.log(data);\n}\n```\n\n**To contribute:**\n\n- Fork the repository\n- Clone the repository to your pc\n- add hadith data to the following format:\n\n```\n{\n\"id\": ,\n\"name\": \"\",\n\"description\": \"\",\n\"references\": \"\",\n\"grade\": \"\"\n}\n\n```\n\n- keep track of **id**\n- Try to add at least ten hadiths.\n- create pull request\n\n**Thanks to [iHadis](http://ihadis.com/) for providing hadiths**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakibrahman%2Fhadith-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frakibrahman%2Fhadith-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakibrahman%2Fhadith-api/lists"}