Created
September 26, 2013 17:16
-
-
Save paulferrett/6717369 to your computer and use it in GitHub Desktop.
Simple example for using the Service Central PHP client.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('ISM_API_KEY', "your client key"); | |
define('ISM_API_SECRET', "your client secret"); | |
define('ISM_API_TOKEN', "user/client token"); | |
$client = new ISM_Client(ISM_API_KEY, ISM_API_SECRET); | |
$client->setToken(ISM_API_TOKEN); | |
$jobs = $client->apis->jobs()->getJobs(); | |
foreach($jobs as $job) { | |
echo $job->summary . '<br />'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment