Random Shopper

The chronicles of Darius Kazemi and the bot he wrote that buys him random crap.
The chronicles of Darius Kazemi and the bot he wrote that buys him random crap.
  • rss
  • archive
  • Randomized Consumerism

    Hi. I’m Darius Kazemi. Recently I’ve been making a bunch of weird stuff that randomly generates things. For example, there’s the Twitter account @metaphorminute, which tweets a random metaphor every couple minutes. There’s also OutSlide, which generates a slide deck from an outline that you enter by picking the first Google Image result for each phrase.

    I’ve had an idea for a long time now. It’s inspired by one of my favorite feelings: when you order something on Amazon, and it’s put on backorder, and then you forget you ordered it, and a year later it arrives—and it’s like a gift you bought yourself.

    Well, I thought: what if I just wrote a program to buy stuff for me? The first iteration of this was going to be a program that bought me stuff that I probably would like.

    But then I decided that was too boring. How about I build something that buys me things completely at random? Something that just… fills my life with crap? How would these purchases make me feel? Would they actually be any less meaningful than the crap I buy myself on a regular basis anyway?

    So I built Amazon Random Shopper. Every time I run it, I give it a set budget, say $50. 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 $10, then the new budget is $40, 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.

    It can’t spend over budget, because it has its own Amazon account, and I give it a gift card. There’s no bank account or credit card info so it can only spend what’s on the gift card. As my friend Daniel Joseph put it: “Here you go, child-bot. Have fun at the mall with the other bots. Don’t spend it all in one place!”

    How do I manage to do this? With the magic of PhantomJS, a really neat little program that spawns a virtual web browser that I can control with code. My system is basically an automated browser that buys me stuff.

    Today I finally got the system working end-to-end, and it bought me $37 worth of stuff (out of a $50 budget. How frugal!). What it bought, I won’t know until it comes in the mail.

    You can stay tuned here, where I’ll be posting a log of what Amazon Random Shopper buys me. I’m going to give it a budget of $50 a month for the next… well, I’m not sure how long, but we’ll see.

    • November 10, 2012 (9:45 pm)
    • 335 notes
    1. locazione reblogged this from randomshopper
    2. nikcamhael reblogged this from randomshopper
    3. mbise likes this
    4. ninjaspookparty likes this
    5. xatley likes this
    6. kurikoera likes this
    7. dardrian likes this
    8. hetakusonna reblogged this from randomshopper
    9. yonoise likes this
    10. majcher likes this
    11. yeswaynoway likes this
    12. segaahearn likes this
    13. armoreddragon likes this
    14. tphd likes this
    15. bearror reblogged this from randomshopper and added:
      This is really neat.
    16. wolf reblogged this from randomshopper and added:
      Hi. I’m Darius Kazemi. Recently I’ve been making a bunch of weird stuff that randomly generates things. For example,...
    17. invisible-shit reblogged this from randomshopper
    18. xoan reblogged this from randomshopper
    19. xoan likes this
    20. oguskyceramics likes this
    21. orteil42 likes this
    22. adrienneleigh likes this
    23. chorge likes this
    24. stelabouras likes this
    25. annehol likes this
    26. s2theriddle likes this
    27. giftsformen24 likes this
    28. detachedowl likes this
    29. personalized-gifts-pro likes this
    30. evhan55 likes this
    31. starsblinkout reblogged this from randomshopper and added:
      Obviously a great story: Darius Kazemi created a bot that randomly purchased items below a certain budget from Amazon...
    32. internetcoven likes this
    33. musicwordscolourslights likes this
    34. adamwillats reblogged this from randomshopper
    35. whyzee likes this
    36. nikooruuu likes this
    37. xandel434 likes this
    38. grscl likes this
    39. helloyellowlime likes this
    40. coleott likes this
    41. xhimitsuhitori reblogged this from makoto-nau
    42. makoto-nau reblogged this from randomshopper
    43. whoisstan likes this
    44. street-terrain likes this
    45. paolomonkey likes this
    46. atthewhitecastle likes this
    47. meretrivia reblogged this from kadrey
    48. xlcrd likes this
    49. gabbertoons likes this
    50. nathanjsquid likes this
    51. Show more notesLoading...
© 2012–2014 Random Shopper