0

Random Shopper Project Sets A Robot Loose With a Budget to Purchase Random Amazon Products

RandomShopper

Here’s an unusual PhantomJS project: the Random Shopper that hunts through Amazon to buy the coder random stuff!

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!”

Read More.


Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Join 14,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython 2019!

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — Re-evaluating Amazon after its acquisition of Whole Foods

Wearables — It’s not a deal breaker

Electronics — Higher isn’t always better

Biohacking — Vitamin-C + Gelatin for Accelerated Recovery

Python for Microcontrollers — Supercharged Supercon with CircuitPython, Quoth the Raven MOAR PYTHON! #Python #Adafruit #CircuitPython #PythonHardware @circuitpython @micropython @ThePSF @Adafruit

Adafruit IoT Monthly — The S in IoT is for Security, Amazon announces Sidewalk and more!

Microsoft MakeCode — Xenomorph candy bucket and spooky workshops with MakeCode!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



3 Comments

  1. If this kind of program were buying stuff from Auction sites and sending it to random taxpayers it would be an incorruptible Keynsian stimulus program for the government.

    keep up the good work!

    Bravo

    Ole!

  2. Funny idea. Remind me from funny XKCD comic, but I hope this works better than the program in that strip.

  3. @ Sakari
    THATS WHERE I HEARD ABOUT THIS BEFORE!
    http://xkcd.com/576/

Sorry, the comment form is closed at this time.