tracking status parser: USPS

See below.

## Deliverables

I will be selected two coders/bidders. Both of you will do the same job, and both of you will check each others work. This guarantees completion and testing from another developer. The job: I have a class that looks like this: $USPS = new USPS_STATUS (); $TrackingNumbers = array ( array ( "tracking_number" => "822h34k2j34234" ), array ( "tracking_number" => "822h34k2j34235" ), array ( "tracking_number" => "822h34k2j34236" ), array ( "tracking_number" => "822h34k2j34237" ) ); $USPS -> SetTracking($TrackingNumbers); $USPS -> UpdateTracking(); //runs some background requests to USPS and parses the data $Results = $USPS -> GetTrackingResults(); var_dump ($Results); What do you need to do? You need to write the parser function, into which I will pass the returned HTML data from USPS from here You will return ALL the steps, and all possible information using REGULAR EXPRESSIONS, the function will return an ARRAY of all the status information about the INDIVIDUAL tracking number. I will LOOP through all the tracking numbers and call that function, and that function (yours) will return all known information about the tracking number (in English) To recap, you are writing a single function, into which HTML data is passed, out of which you will return a single array, with the tracking number as the KEY, with subkeys of all the information about the tracking number. The var_dump($Results) should output this (but with real values, one entry per tracking number, with tracking number as the array key. ["tracking_number_as_key"]=> string(0) "" ["signed_for_by"]=> string(0) "" ["ship_date"]=> string(0) "" ["delivery_date"]=> string(0) "" ["reference"]=> string(0) "" ["purchase_order_number"]=> string(0) "" ["shipment_id"]=> string(0) "" ["invoice_number"]=> string(0) "" ["destination"]=> string(0) "" ["service_type"]=> string(0) "" ["weight"]=> string(0) "" ["status"]=> string(0) "" ["steps"]=> array(0) { } 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

64bit linux, php5 < 5.1, no special plugins, regex only.

## Platform

64bit linux, php5 < 5.1, no special plugins, regex only.

Habilidades: PHP

Veja mais: writing out numbers, writing numbers 1 20, writing expressions, what is a background check for a job, usps hire, using regular expressions, using regex in c, using numbers in writing, using expressions, steps to writing well, software developer on call, regular expressions in linux, regular expressions in c, regular expressions c, regex is, regex explained, real expressions, new hire background check, linux regular expressions, job function of a web developer, i.s.s. tracking, hire coders call number, hire background check, gnu regex c, gnu regex

Acerca do Empregador:
( 201 comentários ) United States

ID do Projeto: #2980749

1 freelancer está oferecendo em média $64 para esse trabalho


See private message.

$63.75 USD em 1 dia
(0 Comentários)