Using Lyft-Python-SDK with lyft.com

Python integration

Install
pip install Lyft-Python-SDK
Quick start
import Lyft-Python-SDK

# Use an OAuth2 access token
client = Lyft_Python_SDK.Client(access_token="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-Python-SDK
Python
API
lyft.com
lyft.com
At a glance
Language Python
Endpoints16