TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How to find your Uber passenger rating

323 点作者 aaln将近 11 年前

37 条评论

madeofpalk将近 11 年前
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:&#x2F;&#x2F;i.imgur.com&#x2F;Q1W59rD.jpg</a>. Here&#x27;s a quick dump of the code <a href="https://github.com/joshhunt/uber" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;joshhunt&#x2F;uber</a>. It&#x27;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&#x2F;` with POST data of something like<p><pre><code> { url: &#x27;&#x2F;api&#x2F;user&#x2F;123123123&#x27;, method: &#x27;get&#x27;, location: [lat, long] } </code></pre> and you&#x27;ll recieve a response back of something like<p><pre><code> { responseData: { username: &#x27;madeofpalk&#x27; ...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 &#x27;new hip startup&#x27; that uses Python and Node.js). Anyone care to comment on why they may have choosen something like this?
评论 #8095666 未加载
评论 #8095038 未加载
评论 #8095445 未加载
评论 #8095004 未加载
评论 #8095447 未加载
评论 #8095017 未加载
po将近 11 年前
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:&#x2F;&#x2F;twitter.com&#x2F;s_m_i&#x2F;status&#x2F;493609377958723584</a><p>&quot;Also this uber thing shows folks will copy and paste commands they don’t understand without a second thought if the incentives are right&quot;
评论 #8095211 未加载
评论 #8096358 未加载
rdl将近 11 年前
I don&#x27;t get why Uber doesn&#x27;t tell me the exterior color of UberX cars coming to pick me up. I have no idea what a &quot;Nissan Versa&quot; is; knowing it&#x27;s a blue minivan would be helpful.
评论 #8095033 未加载
评论 #8094982 未加载
评论 #8095008 未加载
评论 #8095002 未加载
评论 #8095084 未加载
评论 #8094984 未加载
评论 #8094992 未加载
评论 #8095160 未加载
finnn将近 11 年前
I somehow have a 4, the lowest in this thread (that I&#x27;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&#x27;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:&#x2F;&#x2F;m.uber.com&#x2F;cn</a> --data &#x27;{&quot;messageType&quot;:&quot;PingClient&quot;,&quot;token&quot;:&quot;xxxxx&quot;,&quot;app&quot;:&quot;client&quot;}&#x27; | jq .client.ratin<p>to check it programmatically. Could be interesting to have a service detect somehow that you&#x27;d just finished a ride and show you the new score (and possibly the change, etc)
评论 #8096340 未加载
评论 #8095104 未加载
评论 #8095267 未加载
评论 #8095091 未加载
politician将近 11 年前
I have absolutely zero interest in my Uber passenger rating.<p>If they decide to start being ridiculous, I&#x27;ll decide to start taking cabs again -- at least the cabbies generally have a clue about how to get to places, and don&#x27;t bother with questions about &quot;what route would you like me to take you on&quot;. The fastest route, thanks.
评论 #8095503 未加载
评论 #8095418 未加载
评论 #8095609 未加载
评论 #8098378 未加载
zoba将近 11 年前
Or, alternatively, you can just ask your Uber driver when you get in the car. Much easier, and likely won&#x27;t be &quot;fixed&quot; by uber for a long time.
评论 #8096960 未加载
philip1209将近 11 年前
The window.Uber variable has a lot of interesting information, like &quot;isAdmin,&quot; data about the last vehicle I rode in (interior color, exterior color, model year, capacity), last driver&#x27;s phone number, &quot;activeExperiments&quot; which I assume are multivariate tests being run against me, etc
评论 #8095029 未加载
评论 #8095439 未加载
narsil将近 11 年前
I wonder if Lyft shares something similar via their API as well.<p>`curl -H &quot;Authorization: fbAccessToken &lt;fb access token&gt;&quot; <a href="https://api.lyft.com/users/&lt;lyft" rel="nofollow">https:&#x2F;&#x2F;api.lyft.com&#x2F;users&#x2F;&lt;lyft</a> user id&gt;` 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&#x2F;login and viewing the source.
korzun将近 11 年前
I just want to point out that customer support will be happy to give you your rating.<p>Just ask.
yskchu将近 11 年前
Looks like they closed it :-&#x2F;<p>window.Uber.pingData.client.firstName, lastName, email all work, but rating is now &quot;undefined&quot;.
评论 #8095467 未加载
评论 #8095388 未加载
评论 #8095393 未加载
the_economist将近 11 年前
I&#x27;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.
评论 #8095370 未加载
aliston将近 11 年前
I don&#x27;t get why this is included in the window.Uber pingData. It seems as though your rating is something that isn&#x27;t necessary and shouldn&#x27;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?
评论 #8095332 未加载
评论 #8095152 未加载
评论 #8095729 未加载
chatmasta将近 11 年前
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&#x27;s no other way to differentiate passengers, since they&#x27;ll be paying the fee regardless.
评论 #8094941 未加载
评论 #8094910 未加载
评论 #8094944 未加载
评论 #8094907 未加载
zobzu将近 11 年前
I&#x27;ve only had a few rides and ive 4.9 (ie someone didnt rate me 5.0). Meh.<p>Then again, I don&#x27;t feel bad rating drivers because they sell me a service, I&#x27;m rating that (it wouldnt even have to include their name - it probably shouldn&#x27;t. then again I&#x27;m european, we seem to have slightly different ethics).<p>I feel bad that they rate us because we don&#x27;t provide them with anything.<p>That rating is going to be saved, sold and shared eventually.
评论 #8095079 未加载
评论 #8094974 未加载
评论 #8094987 未加载
评论 #8094948 未加载
aioprisan将近 11 年前
There&#x27;s a lot of useful data in window.Uber.pingData.client. For instance, I can see that my credit card profile is on braintree.
rlu将近 11 年前
Does anyone know why Uber doesn&#x27;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)
评论 #8095602 未加载
schnaars将近 11 年前
I&#x27;ve just asked my driver and they tell you.
评论 #8095231 未加载
jwilliams将近 11 年前
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&#x27;d assume something extreme is necessary to get a zero)...<p>My suspicion is that zero is equivalent to unrated, so shouldn&#x27;t be in the sum?
lawrencegs将近 11 年前
I wonder if this reverse-rating system is only for US. Even though I&#x27;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?
blake8086将近 11 年前
So if you check this after every ride, you&#x27;ll know exactly what everyone rated you, right?
评论 #8095076 未加载
评论 #8094939 未加载
评论 #8095036 未加载
saalweachter将近 11 年前
Are there any drivers in the audience who can tell us what different ratings mean?
评论 #8094993 未加载
评论 #8094975 未加载
评论 #8098683 未加载
thejerz将近 11 年前
I live in Philadelphia and I&#x27;ve taken uber around 50 times. I have a 4.8.
rco8786将近 11 年前
4.9!<p>I use uber multiple time per week and have for years. So I guess I&#x27;m not an asshole.
评论 #8095337 未加载
michaeldwan将近 11 年前
I can&#x27;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.
girvo将近 11 年前
The site now says that the mobile site is unavailable. Perhaps they&#x27;ve taken it down to fix this? I&#x27;m in Australia, so maybe that&#x27;s it.
评论 #8095213 未加载
taroth将近 11 年前
Nice hack. I imagine using it to see if a driver gave me a good rating or not based on the delta between my new score and old score.
评论 #8094730 未加载
swang将近 11 年前
I wonder if `window.Uber.pingData.client.activeExperiments` is the test groups you&#x27;re currently in at the moment...
Zhenya将近 11 年前
Game&#x27;s over - result is now null.
评论 #8095624 未加载
burntcookie90将近 11 年前
this is also visible if you view the source on m.uber.com, ctrl-f for &quot;rating&quot;.
评论 #8095584 未加载
joshwa将近 11 年前
On my browser, the rating is at<p><pre><code> window.Uber.Ping.Client.attributes.rating</code></pre>
sunasra将近 11 年前
dont they show officially?
corylehey将近 11 年前
even easier method, ask your next Uber driver what your rating is.
mxpxrocks10将近 11 年前
awesome- this was great. 4.9
mrvladnov将近 11 年前
this is dope, got a 4.8
trekky1700将近 11 年前
Awesome, happy to find I have a 5&#x2F;5 too!
thrill将近 11 年前
5.0 (I&#x27;ve never used the service - so it looks like it&#x27;s all downhill from here...)
aaln将近 11 年前
We are on reddit! <a href="http://www.reddit.com/r/lifehacks/comments/2bx5dp/how_to_find_your_uber_passenger_rating/" rel="nofollow">http:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;lifehacks&#x2F;comments&#x2F;2bx5dp&#x2F;how_to_fin...</a>