This package has been deprecated

Author message:

Lyft has deprecated its public API and is moving towards a business partner approach. See https://developer.lyft.com/docs

hubot-lyft

1.0.5 • Public • Published

Hubot Lyft

npm version Build Status

List estimated arrival times and available Lyft services.

Installation

In hubot project repo, run:

npm install hubot-lyft --save

Then add hubot-lyft to your external-scripts.json:

[
  "hubot-lyft"
]

Configuration

Begin by registering an application with Lyft. After you have created the app, click "Show Credentials" to grab the Client Token value. Save this in your configuration as HUBOT_LYFT_CLIENT_TOKEN.

Environment Variable Required? Description
HUBOT_LYFT_CLIENT_TOKEN Yes Client OAuth2 Token
HUBOT_LYFT_DEFAULT_LATITUDE No^ Default latitude for your queries
HUBOT_LYFT_DEFAULT_LONGITUDE No^ Default longitude for your queries

^ Will work without it, but defaults to downtown Nashville, TN. Not very useful for service where you might be.

Sample Interaction

Slack

Slack

IRC / Hipchat

user1> hubot lyft
Hubot> Lyft: Seats 4, arrives in 2 minute(s)
Hubot> Lyft Plus: Seats 6, arrives in 3 minute(s)

NPM Module

https://www.npmjs.com/package/hubot-lyft

Related

  • hubot-uber - This one is a bit more full-featured in that it stores locations and gives cost estimates.

Package Sidebar

Install

npm i hubot-lyft

Weekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

226 kB

Total Files

17

Last publish

Collaborators

  • stephenyeargin