This is a lot easier than the Charles MITM proxy I used to intercept the Uber iPhone API calls to determine mine. I feel kind of silly now that I didnt bother checking the web API.<p>I also made a web scraper to get my uber trip details (incl. route driven), save it to JSON and map the trips all at once. <a href="http://i.imgur.com/Q1W59rD.jpg" rel="nofollow">http://i.imgur.com/Q1W59rD.jpg</a>. Here's a quick dump of the code <a href="https://github.com/joshhunt/uber" rel="nofollow">https://github.com/joshhunt/uber</a>. It's pretty rough and it makes a lot of assumptions (e.g. metric system and AUD). I never really plan on looking at it again, so your milage may vary.<p>I also found their API structure to be quite unusual: They make a call to something like `api.uber.com/` with POST data of something like<p><pre><code> {
url: '/api/user/123123123',
method: 'get',
location: [lat, long]
}
</code></pre>
and you'll recieve a response back of something like<p><pre><code> {
responseData: {
username: 'madeofpalk'
...rest of requested data...
},
vehicles: [
...list of all vehicles and their locations...
]
...other data that wasnt explicitly requested but comes through with every request...
}
</code></pre>
I had never seen this pattern before, and thought it was quite unusual (especially for a 'new hip startup' that uses Python and Node.js). Anyone care to comment on why they may have choosen something like this?
My twitter stream is now full of people, some of whom I am sure do not have the skill to evaluate if something is a JavaScript security threat or not, who have copied and pasted a random script they read on the internet into the developer console. Granted, this one is pretty simple and easier to evaluate than most, but still… you really get why Facebook hacked the console to warn people not to do that.<p>edit: This tweet said exactly what I was thinking when I saw all of this. <a href="https://twitter.com/s_m_i/status/493609377958723584" rel="nofollow">https://twitter.com/s_m_i/status/493609377958723584</a><p>"Also this uber thing shows folks will copy and paste commands they don’t understand without a second thought if the incentives are right"
I don't get why Uber doesn't tell me the exterior color of UberX cars coming to pick me up. I have no idea what a "Nissan Versa" is; knowing it's a blue minivan would be helpful.
I somehow have a 4, the lowest in this thread (that I've seen so far). I wonder what I did, I generally try to be polite to the drivers and I rarely use the service, so I suspect I got one extremely poor rating? I can't imagine when though.<p>Anyway, looks like you can go and pull the token out of the page and just do<p>curl <a href="https://m.uber.com/cn" rel="nofollow">https://m.uber.com/cn</a> --data '{"messageType":"PingClient","token":"xxxxx","app":"client"}' | jq .client.ratin<p>to check it programmatically. Could be interesting to have a service detect somehow that you'd just finished a ride and show you the new score (and possibly the change, etc)
I have absolutely zero interest in my Uber passenger rating.<p>If they decide to start being ridiculous, I'll decide to start taking cabs again -- at least the cabbies generally have a clue about how to get to places, and don't bother with questions about "what route would you like me to take you on". The fastest route, thanks.
Or, alternatively, you can just ask your Uber driver when you get in the car. Much easier, and likely won't be "fixed" by uber for a long time.
The window.Uber variable has a lot of interesting information, like "isAdmin," data about the last vehicle I rode in (interior color, exterior color, model year, capacity), last driver's phone number, "activeExperiments" which I assume are multivariate tests being run against me, etc
I wonder if Lyft shares something similar via their API as well.<p>`curl -H "Authorization: fbAccessToken <fb access token>" <a href="https://api.lyft.com/users/<lyft" rel="nofollow">https://api.lyft.com/users/<lyft</a> user id>` provides some basic profile, credit card, location and referral information but nothing about ratings. The lyft user ID can be obtained by logging in at www.lyft.com/login and viewing the source.
I've been aware of my Uber passenger rating for about a year. When I first found out about it, my rating was a 4.9. Once I realized that I was being rated, I worked really hard to be the perfect passenger. I had my rating up to a 5.0 for a few months. Then I got lazy about being perfect and it has since dropped to a 4.8.
I don't get why this is included in the window.Uber pingData. It seems as though your rating is something that isn't necessary and shouldn't be surfaced client-side.<p>Anyone have some insight into why this data is there in the first place? Is this an accidental leak, some sort of optimization or something else?
What kind of details do you think go into this rating? My guess: how long driver waits for you to get in the car, how drunk and annoying you are, how much you tip (do they see this before rating?), how profitable your ride is.<p>I suspect most drivers, like most passengers, give a 5.0 to almost everyone, but dock points for being a dick. It just seems there's no other way to differentiate passengers, since they'll be paying the fee regardless.
I've only had a few rides and ive 4.9 (ie someone didnt rate me 5.0). Meh.<p>Then again, I don't feel bad rating drivers because they sell me a service, I'm rating that (it wouldnt even have to include their name - it probably shouldn't. then again I'm european, we seem to have slightly different ethics).<p>I feel bad that they rate us because we don't provide them with anything.<p>That rating is going to be saved, sold and shared eventually.
Does anyone know why Uber doesn't easily just give you your own rating? If I know my rating is low then I know I should work on improving it if I want to continue using Uber...<p>Seems kind of like a win-win-win for all three parties (Uber, driver, myself)
Hmm. Suspect there is a bug with this - All my ratings are five, besides a handful of zeroes. At least a couple of the zeroes I remember being perfectly amicable rides (I mean, I'd assume something extreme is necessary to get a zero)...<p>My suspicion is that zero is equivalent to unrated, so shouldn't be in the sum?
I wonder if this reverse-rating system is only for US. Even though I'm from US, I had only get the chance to use it abroad (Jakarta). And when I check it, my rating is null. Is it something to do with the fact that Uber driver in Jakarta are actually professional car-rental driver?
I can't think of a single reason the user rating is hidden from the user. If anything, knowing your score is low would help explain why rides are often unavailable.
We are on reddit!
<a href="http://www.reddit.com/r/lifehacks/comments/2bx5dp/how_to_find_your_uber_passenger_rating/" rel="nofollow">http://www.reddit.com/r/lifehacks/comments/2bx5dp/how_to_fin...</a>