Using lyft-go-sdk with lyft.com

Go integration

✓ Official SDK

Install

go get github.com/lyft/lyft-go-sdk

Quick start

import "lyft-go-sdk"

// Initialize client
client := lyft-go-sdk.NewClient("YOUR_ACCESS_TOKEN")
Pickup ETAs
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /eta
Cost estimates
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /cost
List rides
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /rides
SDK on GitHub 📄 API Docs
SDK
lyft-go-sdk
Go
API
lyft.com
lyft.com

At a glance

Language Go
Endpoints16
✓ Official