Emnico in Swindon and its partners
in the UK and Europe provide:

» IT Support Services and Products
» Bespoke Software Development


Contact our Swindon office on:
+44 (0)1793 614 700
to discuss your IT needs.


CLOSE IT
Emnico Logo
Your Virtual Technology Team
Delivering Peak Performance
Category: Type: Order:
Search For:  
Home > Library > Dominos Order Status

Dominos Order Status

This powershell script will retrieve the status of an order made through Dominos Pizza in the USA. The only input required is your phone number.
Added 302 days ago by Emnico
Download
Review
Back
195Views
This script or application has not been checked by Emnico. Make sure you understand the risks before using it.

Source code

# Get-DominosOrderStatus.psm1
# Author:       xcud.com
#
# Inspired by Dana Merrick's Dominos Pizza Script
# http://shakti.trincoll.edu/~dmerrick/dominos.html

function Get-DominosOrderStatus($phone_number) {
	$url = "http://trkweb.dominos.com/orderstorage/GetTrackerData?Phone=$phone_number"
	[xml]$content = (new-object System.Net.WebClient).DownloadString($url);
	$statii = select-xml -xml @($content) `
			   -Namespace @{dominos="http://www.dominos.com/message/"} `
			   -XPath descendant::dominos:OrderStatus
	if($statii.Count -gt 0) { $statii | %{ $_.Node } }
	else { "No orders" }
}

Export-ModuleMember Get-DominosOrderStatus


| Privacy policy | Environmental policy | Site map |