{"id":18808942,"url":"https://github.com/jauharibill/api-mini-challenge-3","last_synced_at":"2026-04-12T22:09:02.447Z","repository":{"id":97725119,"uuid":"203622863","full_name":"jauharibill/api-mini-challenge-3","owner":"jauharibill","description":null,"archived":false,"fork":false,"pushed_at":"2019-08-21T20:21:06.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-22T02:11:28.402Z","etag":null,"topics":["api","fire","jwt","laravel","lumen","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/jauharibill.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,"zenodo":null}},"created_at":"2019-08-21T16:25:16.000Z","updated_at":"2019-08-21T20:22:01.000Z","dependencies_parsed_at":"2023-07-22T21:17:45.971Z","dependency_job_id":null,"html_url":"https://github.com/jauharibill/api-mini-challenge-3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jauharibill/api-mini-challenge-3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jauharibill%2Fapi-mini-challenge-3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jauharibill%2Fapi-mini-challenge-3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jauharibill%2Fapi-mini-challenge-3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jauharibill%2Fapi-mini-challenge-3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jauharibill","download_url":"https://codeload.github.com/jauharibill/api-mini-challenge-3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jauharibill%2Fapi-mini-challenge-3/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267797598,"owners_count":24145708,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","fire","jwt","laravel","lumen","php"],"created_at":"2024-11-07T23:14:45.811Z","updated_at":"2025-10-25T22:34:39.424Z","avatar_url":"https://github.com/jauharibill.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API Mini Challenge 3\n\n## Documentation\n\nMain Url : `http://mc3.tokoandalan.com`\n\nResponse json format example : \n\n`{\n    \"success\": true,\n    \"message\": \"Success Login\",\n    \"response\": 200,\n    \"data\": []\n}`\n\nthe `data` key is result data from destination url example :\n\nif you request for list of waste collector, it would contain json data for all record of waste collector in database.\n\n| Request | param | method | response data |\n|---|---|---|---|\n|`{main url}/login` | email, password | post | `{ \"token\" : \"hash token xxxxx.xxxxx.xxxxx\" }` |\n|`{main url}/register` | name, email, password, phone, role_id | post | `{ \"token\" : \"hash token xxxxx.xxxxx.xxxxx\" }` | \n|`{main url}/household/list` | token | get | `[{ \"name\": \"bill tanthowi jauhari\", \"address\":\"malang\", \"phone\":\"082xxxxx\", \"lat\":\"-7000.3\", \"long\":\"+733.4\", \"duration_time\":\"30\", \"photo\":\"xxx.jpg\" }]` |\n|`{main url}/household/list/{id}`| token, id | get | `{ \"name\": \"bill tanthowi jauhari\", \"address\":\"malang\", \"phone\":\"082xxxxx\", \"lat\":\"-7000.3\", \"long\":\"+733.4\", \"duration_time\":\"30\",\"photo\":\"xxx.jpg\" }`|\n|`{main url}/household/save`| token, address, lat, long, photo | post | `[]`|\n|`{main url}/wastecollector/list` | token | get | `[{ \"name\": \"bill tanthowi jauhari\", \"address\":\"malang\", \"phone\":\"082xxxxx\", \"lat\":\"-7000.3\", \"long\":\"+733.4\", \"photo\":\"xxx.jpg\", \"colelection_day\": \"['senin', 'jumat']\", \"collection_time\":\"10:00\", \"price_tag\":50000, \"available\":1 }]` |\n|`{main url}/wastecollector/list/{id}`| token, id | get | `{ \"name\": \"bill tanthowi jauhari\", \"address\":\"malang\", \"phone\":\"082xxxxx\", \"lat\":\"-7000.3\", \"long\":\"+733.4\", \"photo\":\"xxx.jpg\", \"collection_day\": \"['senin', 'jumat']\", \"collection_time\":\"10:00\", \"price_tag\":50000, \"available\":1 }`|\n|`{main url}/wastecollector/save`| token, address, lat, long, photo, collection_time, collection_day, price_tag, available | post | `[]`|\n\n\nto access all url except login and register, you need to pass token in url with query string `token` eg : `mc3.tokoandalan.com/household/list?token=xxx.xxx.xxx`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjauharibill%2Fapi-mini-challenge-3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjauharibill%2Fapi-mini-challenge-3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjauharibill%2Fapi-mini-challenge-3/lists"}