Lyft
Lyft is a ridesharing and transportation platform that connects passengers with drivers for on-demand trips.
- Base URL:
https://api.lyft.com/v1 - Auth: OAuth 2.0 client-credentials — the tool fetches a token from
https://api.lyft.com/oauth/tokenusing yourclientId/clientSecret, then calls the API.
Operations
getcost— GET /cost — Cost estimatesgetdrivers— GET /drivers — Available drivers nearbygeteta— GET /eta — Pickup ETAsgetprofile— GET /profile — The user's general infogetrides— GET /rides — List ridesgetride— GET /rides/{id} — Get the ride detail of a given ride ID
Inputs
clientId/clientSecret— your lyft OAuth app credentialsscope— OAuth scopes (optional; defaults from the spec)operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: getcost
clientId: <your client id>
clientSecret: <your client secret>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
clientId |
string | yes | — | OAuth client ID for lyft. |
clientSecret |
string | yes | — | OAuth client secret for lyft. |
operation |
string | yes | — | One of: getcost, getdrivers, geteta, getprofile, getrides, getride |
scope |
string | no | public |
OAuth scopes (space-separated); default from the spec. |
id |
string | no | — | Path parameter id (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |