You are here

Apparently someone working on Google Analytics' API has a sense of humour

AttachmentSize
ken-vs-ryu.png36.53 KB

Ok, maybe sense of humour is a stretch but they are at least huge fans of Street Fighter.

I was working on integrating the Google Analytics API into a website and came across this little snippet at the very end of their common query samples. I attached a screenshot.

Ken vs Ryu

This query returns data on battles fought between Ken and Ryu, sorted by number of fireballs thrown in descending order.

dimensions=ga:fighterName1,ga:fighterName2
metrics=ga:roundsWon,ga:punches,ga:kicks
filter=ga:fighterName1==Ken,ga:fighterName2==Ken;ga:fighterName1==Ryu,ga:fighterName2==Ryu
sort=-ga:fireballs

Just kidding, this one doesn't actually work, but it would be so cool if it
did...