diff options
author | Filipp Lepalaan <filipp@mac.com> | 2011-05-04 11:32:49 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2011-05-04 11:32:49 +0300 |
commit | c7765c9b7a6ef6ca4e0baccae7896db4481f5f40 (patch) | |
tree | 44c8f75cf4f6cfe8ef6a978e6a42f6e619b50f87 /README.md | |
parent | 72bd7dd166ac68949f4b0d8d8722deba276de00f (diff) | |
download | gsxlib-c7765c9b7a6ef6ca4e0baccae7896db4481f5f40.tar.gz gsxlib-c7765c9b7a6ef6ca4e0baccae7896db4481f5f40.tar.bz2 gsxlib-c7765c9b7a6ef6ca4e0baccae7896db4481f5f40.zip |
README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -17,8 +17,8 @@ Best illustrated with a simple example: <?php include 'gsxlib/gsxlib.php'; - $gsx = new GsxLib('your sold-to account', 'gsx user', 'password'); - $info = $gsx->warrantyStatus('serialnumber'); + $gsx = new GsxLib($sold_to, $username, $password); + $info = $gsx->warrantyStatus($serialnumber); echo $info->productDescription; > MacBook Pro (15-inch 2.4/2.2GHz) ?> @@ -27,8 +27,8 @@ If you're in the US, remember to set the fifth argument to the constructor to 'a ##gsxcl## -The package includes a rudimentary command line client to the GSX API called gsxcl. Currently it can perform warranty checks -and part lookups. +The package includes a rudimentary command line client to the GSX API called gsxcl. +Currently it can perform warranty checks and part lookups. ##License## |