polish_post_tracking/polish_post_tracking

Class to tracking package sent by Polish Post Office

dev-master 2014-10-28 14:31 UTC

This package is not auto-updated.

Last update: 2025-07-05 19:18:42 UTC


README

Klasa do śledzenia przesyłki wysłanej poprzez Poczte Polską.

Example usage ( also in example_usage.php file ):

require_once 'PolishPostTracking/Autoloder.php';

try {

	$PolishPostApi   = new \PolishPostTracking\Api;
	$packageTracking = $PolishPostApi->checkPackage('testp0');

	var_dump($packageTracking);

} catch (\PolishPostTracking\Exception $E) {

	// in production inform admin by email, save to log file
	echo $E->getMessage();
}

Example return:

http://pastebin.com/XkFQBxDG

Task it handles: poczta polska, śledzenie poczta polska, php