Skip to content

Instantly share code, notes, and snippets.

@DfKimera
Created March 14, 2012 14:48
Show Gist options
  • Select an option

  • Save DfKimera/2036983 to your computer and use it in GitHub Desktop.

Select an option

Save DfKimera/2036983 to your computer and use it in GitHub Desktop.
<?php
include("AccedoService.php");
try {
$client = new AccedoService();
$auth = new AuthenticationByCodeIdType();
$auth->braceletID = 555678;
$user = $client->authenticationByCodeId($auth);
$userID = $user->userID;
var_dump($user);
$req = new GetExperiencesType();
$req->userID = $userID;
$req->experienceType = null;
$experiences = $client->getExperiences($req);
var_dump($experiences);
} catch (Exception $ex) {
echo "<h3>Exception caught:</h3>";
var_dump($ex);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment