87

GitHub - nishanths/lyft: Create Lyft rides from the command line

 6 years ago
source link: https://github.com/nishanths/lyft
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Create and manage Lyft rides from the command line.

# Install
go get github.com/nishanths/lyft

# Set up env vars (see 'Setup' heading below)
export GOOG_GEOCODE_KEY=<key>
export LYFT_CLIENT_ID=<key>
export LYFT_CLIENT_SECRET=<key>

# Manage rides
lyft ride create
lyft ride cancel <ride-id>
lyft ride status <ride-id>

# Save places for future use when creating rides
lyft place add    <name>
lyft place remove <name>...
lyft place show   [name]

# Help
lyft -help # or https://godoc.org/github.com/nishanths/lyft

Lyft Line isn't available on Lyft's web application (October 2017), but this program can help you order Line rides from your computer.

Setup

The program uses the following environment variables.

GOOG_GEOCODE_KEY
LYFT_CLIENT_ID
LYFT_CLIENT_SECRET

Refer to the Setup section in godoc to set these up.

Example

68747470733a2f2f692e696d6775722e636f6d2f75543064346c6e2e676966

License

BSD 3-Clause.

Built with lyft-go.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK