Noticed I have several web apps all using their own GSX code, so the idea is to refactor them all under this one library.
Very simple to use, you don’t even have to know the WSDL URL:
<?php include 'gsxlib/gsxlib.php'; $gsx = new GsxLib('your sold-to account', 'gsx user', 'password'); $info = $gsx->warrantyStatus('serialnumber'); echo $info->productDescription; ?> MacBook Pro (15-inch 2.4/2.2GHz)
Currently it only has a shortcut for warranty status checks, more to come soon. Check the readme for more details.
On a totally unrelated note - imapsync is awesome.