Monday, August 1, 2011

How to wget/curl UPS tracking page

One of my job functions is to keep track of many servers out in the field. So i decided to make my life easy and create a script that will automatically track the status of the the servers. Luckily, this is very easy to accomplish:

simply curl or wget the following page and parse out the sections you want.

http://wwwapps.ups.com/WebTracking/processInputRequest?TypeOfInquiryNumber=T&InquiryNumber1=1Z000000000000

Where '1Z000000000000' is your tracking number.

Once I get my script fully completed I will post it here.

No comments:

Post a Comment