{"id":24601390,"url":"https://github.com/djchie/lyft-node","last_synced_at":"2025-04-30T22:51:47.768Z","repository":{"id":78062847,"uuid":"83883698","full_name":"djchie/lyft-node","owner":"djchie","description":"This is a Node.js Wrapper for the Lyft API's public scope endpoints","archived":false,"fork":false,"pushed_at":"2017-03-25T05:31:59.000Z","size":13,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T08:56:05.259Z","etag":null,"topics":["lyft","lyft-api","lyft-api-wrapper","lyft-node","lyft-node-api","lyft-public-api"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/djchie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-03-04T09:54:45.000Z","updated_at":"2019-01-19T01:07:30.000Z","dependencies_parsed_at":"2023-03-02T13:00:48.840Z","dependency_job_id":null,"html_url":"https://github.com/djchie/lyft-node","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/djchie%2Flyft-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djchie%2Flyft-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djchie%2Flyft-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djchie%2Flyft-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djchie","download_url":"https://codeload.github.com/djchie/lyft-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251795424,"owners_count":21645020,"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":["lyft","lyft-api","lyft-api-wrapper","lyft-node","lyft-node-api","lyft-public-api"],"created_at":"2025-01-24T14:48:57.453Z","updated_at":"2025-04-30T22:51:47.762Z","avatar_url":"https://github.com/djchie.png","language":"JavaScript","readme":"[![Build Status](https://travis-ci.org/djchie/lyft-node.svg?branch=master)](https://travis-ci.org/djchie/lyft-node)\n[![Coverage Status](https://coveralls.io/repos/github/djchie/lyft-node/badge.svg?branch=master)](https://coveralls.io/github/djchie/lyft-node?branch=master)\n[![npm version](https://badge.fury.io/js/lyft-node.svg)](https://badge.fury.io/js/lyft-node)\n\n[![NPM](https://nodei.co/npm/lyft-node.png?downloads=true)](https://nodei.co/npm/lyft-node/)\n\n# A Node Wrapper for the Lyft API\n\n## Introduction\nA simple node wrapper that serves as an abstraction for the Lyft API's public scope endpoints.\n\n## Installation\nInstall via NPM\n```\nnpm install lyft-node\n```\n\n## Usage\n\n### Get Ride Types\nTakes a ride types search query and returns a response wrapped in a Promise.\n\n#### Ride Types Search Query\n##### Required:\n* `start [coordinate]`\n\n##### Optional:\n* `rideType [string]` (must be `lyft`, `lyft_line`, or `lyft_plus`)\n\n#### Example\n```javascript\nimport Lyft from 'lyft-node';\n\nconst lyft = new Lyft('LYFT_CLIENT_ID', 'LYFT_CLIENT_SECRET');\n\nconst query = {\n  start: {\n      latitude: 1,\n      longitude: 2,\n    },\n};\n\nlyft.getRideTypes(query)\n  .then((result) =\u003e {\n    console.log(result);\n  })\n  .catch((error) =\u003e {\n    console.log(error);\n  });\n```\n\n### Get Driver ETA\nTakes a driver eta search query and returns a response wrapped in a Promise.\n\n#### Driver ETA Search Query\n##### Required:\n* `start [coordinate]`\n\n##### Optional:\n* `end [coordinate]`\n* `rideType [string]` (must be `lyft`, `lyft_line`, or `lyft_plus`)\n\n#### Example\n```javascript\nimport Lyft from 'lyft-node';\n\nconst lyft = new Lyft('LYFT_CLIENT_ID', 'LYFT_CLIENT_SECRET');\n\nconst query = {\n  start: {\n      latitude: 1,\n      longitude: 2,\n    },\n};\n\nlyft.getDriverEta(query)\n  .then((result) =\u003e {\n    console.log(result);\n  })\n  .catch((error) =\u003e {\n    console.log(error);\n  });\n```\n\n### Get Ride Estimates\nTakes a ride estimates search query and returns a response wrapped in a Promise.\n\n#### Ride Estimates Search Query\n##### Required:\n* `start [coordinate]`\n* `end [coordinate]`\n\n##### Optional:\n* `rideType [string]` (must be `lyft`, `lyft_line`, or `lyft_plus`)\n\n#### Example\n```javascript\nimport Lyft from 'lyft-node';\n\nconst lyft = new Lyft('LYFT_CLIENT_ID', 'LYFT_CLIENT_SECRET');\n\nconst query = {\n  start: {\n      latitude: 1,\n      longitude: 2,\n    },\n    end: {\n      latitude: 3,\n      longitude: 4,\n    },\n    rideType: 'lyft',\n};\n\nlyft.getRideEstimates(query)\n  .then((result) =\u003e {\n    console.log(result);\n  })\n  .catch((error) =\u003e {\n    console.log(error);\n  });\n```\n\n### Get Nearby Drivers\nTakes a nearby drivers search query and returns a response wrapped in a Promise.\n\n#### Time Estimates Search Query\n##### Required:\n* `start [coordinate]`\n\n#### Example\n```javascript\nimport Lyft from 'lyft-node';\n\nconst lyft = new Lyft('LYFT_CLIENT_ID', 'LYFT_CLIENT_SECRET');\n\nconst query = {\n  start: {\n      latitude: 1,\n      longitude: 2,\n    },\n};\n\nlyft.getNearbyDrivers(query)\n  .then((result) =\u003e {\n    console.log(result);\n  })\n  .catch((error) =\u003e {\n    console.log(error);\n  });\n```\n\n## License\n[MIT](LICENSE.md)\n\n## Credits\nThis project is heavily inspired by [Jae Bradley](https://github.com/jaebradley)'s [uber-client](https://github.com/jaebradley/uber-client)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjchie%2Flyft-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjchie%2Flyft-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjchie%2Flyft-node/lists"}