News for hackers. Stuff that matters.
Re:Recommendations API by projectileboy on Thursday August 21, 2014 @06:16PM (#8209939)
I work as a developer on the API team at Best Buy, and we're trying to open up our data in ways that will (hopefully) be useful to folks outside of Best Buy. Please feel free to comment on anything you especially like or dislike.
Re:Recommendations API by bcbrown on Thursday August 21, 2014 @07:16PM (#8210161)
What's the formula for choosing Top Trending? Is it absolute or relative lift over the previous three hours? Can you disclose any details on the algorithms or the features used in the Similar Products API?

I'd love to talk to you offline. Could you shoot me an email? Details in profile.

Re:Recommendations API by projectileboy on Thursday August 21, 2014 @07:40PM (#8210257)
On the API team, we're simply packaging data that is cooked up internally by teams who are also providing data for the dot com site, as well as other stuff. Consequently, I can't give you good information (and in any case, I maybe couldn't even if I knew - some of these types of things (like trending, similar products, etc.) are carefully tweaked by business folks, same as at any other retailer. Nothing crazy; but I think the details are proprietary.).
Re:Recommendations API by Osiris on Thursday August 21, 2014 @07:10PM (#8210146)
Where did the idea for the API come from? At large companies that like I imagine upper-management sees things like this as a cost center, which can make it difficult to try and innovate.
Re:Recommendations API by projectileboy on Thursday August 21, 2014 @07:36PM (#8210239)
I believe the original set of APIs (called "Remix") were cooked up by some of the bestbuy.com architecture crew, and lately there's been increased interest and support from the management. The executives here are actually pretty forward-thinking about this kind of stuff.
Re:Recommendations API by BallinBige on Thursday August 21, 2014 @08:51PM (#8210427)
heres to avoiding bankruptcy! somehow i find myself rooting for the underdog in an internet world.
Re:Recommendations API by _RPM on Friday August 22, 2014 @12:34AM (#8210901)
Best Buy is the leader in the retail market for consumer electronics.
Re:Recommendations API by meowface on Friday August 22, 2014 @12:32AM (#8210894)
I'm not quite sure I would consider Best Buy an underdog...
Re:Recommendations API by themonk on Friday August 22, 2014 @02:51AM (#8211143)
You mean Circuit City?
Re:Recommendations API by cleverjake on Thursday August 21, 2014 @07:14PM (#8210155)
Super stoked to see a public api from your company. First thing I did, though, was try to hit http://api.remix.bestbuy.com/v1/products/1162032.json. Despite being a json file, it returns html. Admittedly, a consumer should be looking at the err code first, but a json formatted error would be preffered :]

keep up the great work!

Re:Recommendations API by projectileboy on Thursday August 21, 2014 @07:45PM (#8210279)
I'm really sorry about that - there are a few types of errors that come from Mashery for which we haven't yet customized the responses to properly return JSON. Essentially what you're seeing is that you aren't specifying an API key. To use the Best Buy APIs, you just need to register for a key at https://remix.mashery.com/member/register. And there's more info on getting started at https://developer.bestbuy.com/get-started. If you decide to try it out, please let me know if you run into any problems.
Re:Recommendations API by xienze on Thursday August 21, 2014 @09:50PM (#8210524)
Why did you guys decide to have the API endpoints a) use plain HTTP and b) include the API key as a query parameter? While it doesn't look like the API lets you access anything particularly sensitive, you're just asking for API keys to be sniffed out and used/abused by folks other than those you issued the key for.
Re:Recommendations API by projectileboy on Friday August 22, 2014 @12:21AM (#8210880)
It's a fair complaint. I'm not sure when we're getting everything to HTTPS, but I know it's on the roadmap. Including the API key as a parameter goes back to the early days of our API - quite a few years ago. The problem now is that we have enough apps with enough traffic that we can't just move it to the header without causing a bit of disruption. But that too is on our roadmap. Both issues are important.
Re:Recommendations API by flaie on Friday August 22, 2014 @07:16AM (#8211617)
It should still be fairly easy to check for an API Key in the header if not found in the request parameters. This way there would be no disruption for old apps, and it would benefit new apps.

I also think that both this and HTTPS are mandatory, but since it's on your roadmap that's good enough.