{"id":19188288,"url":"https://github.com/mathdroid/gojek-api","last_synced_at":"2025-05-08T02:46:24.941Z","repository":{"id":67669475,"uuid":"87235583","full_name":"mathdroid/gojek-api","owner":"mathdroid","description":"API client for gojek","archived":false,"fork":false,"pushed_at":"2017-04-05T08:17:27.000Z","size":37,"stargazers_count":53,"open_issues_count":0,"forks_count":32,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-20T06:34:55.193Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mathdroid.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":"2017-04-04T21:11:56.000Z","updated_at":"2024-08-07T13:27:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"6465fd44-900d-496b-9bed-42491f6c80c7","html_url":"https://github.com/mathdroid/gojek-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/mathdroid%2Fgojek-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathdroid%2Fgojek-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathdroid%2Fgojek-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathdroid%2Fgojek-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathdroid","download_url":"https://codeload.github.com/mathdroid/gojek-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252989941,"owners_count":21836665,"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":[],"created_at":"2024-11-09T11:24:16.579Z","updated_at":"2025-05-08T02:46:24.936Z","avatar_url":"https://github.com/mathdroid.png","language":"JavaScript","readme":"# `gojek-api`\n\n\u003e A client for APIs used in Go-Jek application.\n\n![Image Here]()\n\n# Usage\n\n```sh\nnpm install --save gojek-api\n```\n\n```js\nconst Gojek = require('gojek-api')\n\nconst KEMANG_TIMUR_RAYA = '-6.2635056,106.8236571'\n\nasync function showNearbyMotors ({location}) {\n  try {\n    const motors = await Gojek.getNearbyGojek({location})\n    console.log(motors)\n    return motors\n  } catch (e) {\n    return Promise.reject(e)\n  }\n}\n\nshowNearbyMotors({location: KEMANG_TIMUR_RAYA})\n```\n\n# API\n\n## `getNearbyGojek({location: String})`\n\nAccepts a LatLng string (e.g. `'-6.2635056,106.8236571'`) as the `location`. Returns an array of Gojek bike drivers `{driverLatLong, driverVehicleType}`\n\n`driverLatLong`: `String`\n`driverVehicleType`: `'bike'`\n\n## `getNearbyGoCar({location: String})`\n\nAccepts a LatLng string (e.g. `'-6.2635056,106.8236571'`) as the `location`. Returns an array of Go-car drivers `{driverLatLong, driverVehicleType}`\n\n`driverLatLong`: `String`\n`driverVehicleType`: `'car'` or `'blue-bird'`\n\n# License\n\nMIT (c) 2017 [Muhammad Mustadi](https://github.com/mathdroid)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathdroid%2Fgojek-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathdroid%2Fgojek-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathdroid%2Fgojek-api/lists"}