A Ruby Frontend to the private Uber API
JavaScript Ruby CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
views Revert "Made refresh slower for larger cities." Sep 1, 2013
Gemfile
Gemfile.lock
README.md
app.rb
config.ru
coords.txt

README.md

uber-hack

A Ruby Frontend to the private Uber API

We proxied the traffic coming from the Über app so we could see the private endpoints they were using, this allowed us to reverse the API and develop our own public frontend to this private API. We use this frontend to create a web app which has a realtime map showing the location of Uber cabs in 6 cities (New York, Atlanta, San Francisco, Los Angeles, London and their secret location Shanghai)

How to use

You can either use our website to view them in realtime, or if you want to use your own tokens and create your own app with the Uber API then you need to find out your token and deviceID.

To find your token and device ID:

  1. Use a proxy tool to proxy the traffic from your iPhone/Android device (I recommend Charles (http://www.charlesproxy.com).
  2. Set your device to use this proxy, open the Uber app and look for a cab.
  3. In Charles you should see some endpoints appear for IP addresses, look in them until you find one requesting "default" (/), look at the request data and you will find your token and deviceID.
  4. Add these as the environment variables (uberdevid and ubertoken).