{"id":15723341,"url":"https://github.com/haikelz/asmaul-husna-api","last_synced_at":"2025-05-07T14:27:02.385Z","repository":{"id":183966221,"uuid":"670026400","full_name":"haikelz/asmaul-husna-api","owner":"haikelz","description":"☪️ asmaul-husna-api is an API to get the list of Asma'ul Husna","archived":false,"fork":false,"pushed_at":"2025-01-25T05:15:10.000Z","size":859,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T10:51:26.320Z","etag":null,"topics":["asmaul-husna","fiber","golang","prometheus","rest-api","swagger"],"latest_commit_sha":null,"homepage":"https://asmaul-husna-api.vercel.app","language":"Go","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/haikelz.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-24T06:15:09.000Z","updated_at":"2025-01-25T05:15:15.000Z","dependencies_parsed_at":"2023-12-26T03:32:14.339Z","dependency_job_id":"d5e8d502-b85e-409d-a9b7-7d187b900096","html_url":"https://github.com/haikelz/asmaul-husna-api","commit_stats":null,"previous_names":["haikelz/asmaul-husna-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haikelz%2Fasmaul-husna-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haikelz%2Fasmaul-husna-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haikelz%2Fasmaul-husna-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haikelz%2Fasmaul-husna-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haikelz","download_url":"https://codeload.github.com/haikelz/asmaul-husna-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252894260,"owners_count":21820947,"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":["asmaul-husna","fiber","golang","prometheus","rest-api","swagger"],"created_at":"2024-10-03T22:11:16.572Z","updated_at":"2025-05-07T14:27:02.362Z","avatar_url":"https://github.com/haikelz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://github.com/Safouene1/support-palestine-banner/blob/master/banner-support.svg\" width=\"100%\" /\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003easmaul-husna-api\u003c/h1\u003e\n  \u003cp\u003easmaul-husna-api is an API to get the list of Asma'ul Husna\u003c/p\u003e\n\u003c/div\u003e\n\n## Endpoints\n\n| Endpoint            | Method | Description                                |\n| ------------------- | ------ | ------------------------------------------ |\n| `/`                 | GET    | Get info about the API                     |\n| `/api/all`          | GET    | Get all Asma'ul Husna                      |\n| `/api/:urutan`      | GET    | Get spesific Asma'ul Husna based on urutan |\n| `/api/latin/:latin` | GET    | Get spesific Asma'ul Husna based on latin  |\n\n## Response Example\n\n**Get all Asma'ul Husna**\n\nRequest:\n\n```ts\nfetch(\"https://asmaul-husna-api.vercel.app/api/all\")\n  .then((res) =\u003e res.json())\n  .then((result) =\u003e console.log(result));\n```\n\nResponse:\n\n```json\n{\n  \"statusCode\": 200,\n  \"total\": 99,\n  \"data\": [\n    {\n      \"urutan\": 1,\n      \"latin\": \"Ar Rahman\",\n      \"arab\": \"الرحمن\",\n      \"arti\": \"Yang Maha Pengasih\"\n    },\n    {\n      \"urutan\": 2,\n      \"latin\": \"Ar Rahiim\",\n      \"arab\": \"الرحيم\",\n      \"arti\": \"Yang Maha Penyayang\"\n    },\n    {\n      \"urutan\": 3,\n      \"latin\": \"Al Malik\",\n      \"arab\": \"الملك\",\n      \"arti\": \"Yang Maha Merajai / Memerintah\"\n    },\n    ....\n  ]\n}\n```\n\nWith `page` and `limit`\n\n```ts\n// REST\nfetch(\"https://asmaul-husna-api.vercel.app/api/all?page=2\u0026limit=20\")\n  .then((res) =\u003e res.json())\n  .then((result) =\u003e console.log(result));\n```\n\n**Note:** The `page` and `limit` query are optional. But if you want to use the `page` query, you must use the `limit` query as well.\n\nResponse:\n\n```json\n{\n  \"statusCode\": 200,\n  \"total\": 20,\n  \"data\": [\n    {\n      \"urutan\": 21,\n      \"latin\": \"Al Baasith\",\n      \"arab\": \"الباسط\",\n      \"arti\": \"Yang Maha Melapangkan(makhluknya)\"\n    },\n    {\n      \"urutan\": 22,\n      \"latin\": \"Al Khaafidh\",\n      \"arab\": \"الخافض\",\n      \"arti\": \"Yang Maha Merendahkan(makhluknya)\"\n    },\n    {\n      \"urutan\": 23,\n      \"latin\": \"Ar Raafi '\",\n      \"arab\": \"الرافع\",\n      \"arti\": \"Yang Maha Meninggikan(makhluknya)\"\n    },\n    ...\n  ]\n}\n```\n\n**Get spesific Asma'ul Husna based on urutan**\n\nRequest:\n\n```ts\nfetch(\"https://asmaul-husna-api.vercel.app/api/1\")\n  .then((res) =\u003e res.json())\n  .then((result) =\u003e console.log(result));\n```\n\nResponse:\n\n```json\n{\n  \"statusCode\": 200,\n  \"total\": 1,\n  \"data\": {\n    \"urutan\": 1,\n    \"latin\": \"Ar Rahman\",\n    \"arab\": \"الرحمن\",\n    \"arti\": \"Yang Maha Pengasih\"\n  }\n}\n```\n\n**Get spesific Asma'ul Husna based on latin**\n\nNote: the latin can be lowercase or uppercase.\n\nRequest:\n\n```ts\nfetch(\"https://asmaul-husna-api.vercel.app/api/latin/ar-rahman\")\n  .then((res) =\u003e res.json())\n  .then((result) =\u003e console.log(result));\n```\n\nResponse:\n\n```json\n{\n  \"statusCode\": 200,\n  \"total\": 1,\n  \"data\": {\n    \"urutan\": 1,\n    \"latin\": \"Ar Rahman\",\n    \"arab\": \"الرحمن\",\n    \"arti\": \"Yang Maha Pengasih\"\n  }\n}\n```\n\n## Tech Stack\n\n- Go\n- Fiber\n- Swagger for API Documentation\n- Prometheus and Grafana for API monitoring\n\n## Getting Started\n\n- First, clone this repo.\n- Make sure that you've already installed `air` for live reloading. Type `air` to run the project locally. If you are a Windows user, you must change some configurations in `air.toml` file, more spesific in `cmd` and `bin` parts.\n\n## Credits\n\n- [Muhammad Rivki](https://github.com/mikqi) for the original Asma'ul Husna json.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaikelz%2Fasmaul-husna-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaikelz%2Fasmaul-husna-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaikelz%2Fasmaul-husna-api/lists"}