A CLI tool for extracting and exporting Uber trip data from your account.
- Fetch complete trip history from Uber's GraphQL API
- Export data in JSON or CSV format
- Location clustering and tracking
- Date range filtering with flexible syntax
- Summary views for quick analysis
From source:
make installOr build manually:
make build
./bin/ueFirst, log in with your Uber account:
ue loginYou'll need to provide your Uber cookie from browser dev tools. Open browser, go to riders.uber.com, open developer tools (F12), go to Application > Cookies, and copy the value of the __cf_bm or similar cookie.
Check your login status:
ue statusLogout if needed:
ue logoutFetch last 7 days of trips in JSON format:
ue trips --last 7dFetch trips for a specific date range in CSV format:
ue trips --from 2024-01-01 --to 2024-01-31 --output csvShow summary without fetching full details:
ue trips --last 30d --summaryList all saved locations (clustered from trip data):
ue locationsBuild:
make buildRun tests:
make testFormat code:
make fmtClean build artifacts:
make cleancmd/ue/ # CLI entry point
cmd/ # Command implementations
internal/ # Internal packages
auth/ # Authentication logic
uberapi/ # Uber API client
locations/ # Location clustering
trips/ # Trip data models
format/ # Output formatting (JSON, CSV)
datetime/ # Date/time utilities
parser/ # Data parsing
transform/ # Data transformation
- Go 1.25.4 or later