aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rwxr-xr-xgsxcl1
2 files changed, 5 insertions, 4 deletions
diff --git a/README.md b/README.md
index a78dfb1..d1b86f0 100644
--- a/README.md
+++ b/README.md
@@ -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##
diff --git a/gsxcl b/gsxcl
index a2fc4e8..591b8d6 100755
--- a/gsxcl
+++ b/gsxcl
@@ -3,6 +3,7 @@
/**
* gsxlib/gsxcl
+ * A test package and command line client to the GSX library
* @package gsxlib
* @author Filipp Lepalaan <filipp@mcare.fi>
*/