Python pizza status

dominospython_20080516.jpg

Nothing goes better with some Python hacking than a little pizza. Nick Jensen couldn't wait for his pizza to arrive to begin hacking, so he spent the 30 minute wait-time writing a Python script to track the pie's progress:

I discovered an interesting XML feed the other day when I ordered a pizza from dominos. After seeing a dumb commercial about what some idiots do in their 30 minute pizza-waiting time, I remembered hearing something about being able to "track" your pizza online. So what did I do during my 30 minutes you ask? I went on over to dominos website to check out this amazing tracking device. It turns out to be just a flash app hooked up to an XML feed and Tamper Data revealed it was coming from here.

The details and the Dominos python script are below. Suffice it to say that you can pull an XML status on your Dominos order by hitting http://trkweb.dominos.com/orderstorage/GetTrackerData?Phone=phonenumber (where phonenumber is your 10 digits). You can easily parse this from other languages if you're not the Python type.

You've got 30 minutes... to write a python script
dominos.py


Recent Entries

Comments

Oldest comments listed first.

Posted by: wackyvorlon.myopenid.com on May 18, 2008 at 12:47 PM

So... there's no authentication? I can put in any phone number, and find out whether they're expecting a pizza delivery?


Posted by: Ge64 on May 20, 2008 at 6:22 AM

Saw randomly this on the public timeline in Twitter, that is just awesome. Makes me want to live in the states so i can use it!


Posted by: anon on May 23, 2008 at 9:16 PM

As amusing as I must admit I found the tattoo spot, I definitely think this was a nice use of your thirty.


Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television
Holiday Gift Guides from MAKE
Gifts for Dads
Science and Chemistry
Gifts Under $20
More guides: Santa Claus Machines, Geek Toys for Grown Up Girls & Boys


Check out all of the episodes of Make: television

Alex Rider Dream Gadget Contest
Make: Science Room

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter




    Maker SHED

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Subscribe to MAKE Magazine!

    Make: Online authors!

    Gareth BranwynGareth Branwyn
    Senior Editor


    Phillip TorronePhillip Torrone
    Senior Editor
    | AIM | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Current Podcast

    itunesdl.gif Weekend Project: Beetlebot Simple robot from your parts bin that avoids obstacles. Thanks go to Jerome Demers for the original article in MAKE, Volume 12. To download the Beetlebot video, click here or subscribe in iTunes. Check out the complete Beetlebot article... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    MAKE Fascination video series brought to you by Dow

    Make: Education
    MAKE: en EspaƱol MAKE: Japan
    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog