This Guy Built A Bot That Sends Him Random Crap From Amazon

This Guy Built A Bot That Sends Him Random Crap From Amazon

What if you could give Christmas gifts to yourself but actually be surprised when you open them up? That’s exactly what Darius Kazemi did when he wrote a bot that buys him random crap off of Amazon. And he never has any idea what he’s going to get.

He explains how it works on Random Shopper, a Tumblr where he chronicles his surprise shipments:

Every time I run it, I give it a set budget, say $US50. It grabs a random word from the Wordnik API, then runs an Amazon search based on that word. It then looks for every paperback book, CD, and DVD in the results list, and buys the first thing that’s under budget. If it found a CD for $US10, then the new budget is $US40, and it does another random word search and starts all over, continuing until it runs out of money, or it searches a set number of times.

Among the two gifts he’s given to himself so far are Noam Chomsky’s Cartesian Linguistics and a CD from a random Swedish band. The whole thing seems a little frivolous, but it’s nice to have hobbies. And who doesn’t like presents? [Random Shopper]


The Cheapest NBN 50 Plans

It’s the most popular NBN speed in Australia for a reason. Here are the cheapest plans available.

At Gizmodo, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.