I need a small script, nothing fancy required, to pass a call to USPS Api and return values (either domestic or international) for shippment.
Use variables to supply some kind of address/postcode/city ect "from" and "to", standard size box and weight for example 5 lbs.
I need the script to return the values available for shipping. Nothing more, just the quote. No submittion.
You can find all the information you may need here: [url removed, login to view]
I don't need ant kind of data filtering or cleanup , just the script to make the call and return (print) the rates. Must work for domestic (ratev4) and international.
Clean php please, no JS.