To Install Use Composer: https://getcomposer.org/doc/00-intro.md#globally
http://traitify.github.io/traitify-js/
For instructions on obtaining a public key visit: https://developer.traitify.com
$client = new Traitify\Client([
'host'=>'api-sandbox.traitify.com', /* Example Host */
'version'=>'v1', /* Example Version */
'secretKey'=>'34aeraw23-3a43a32-234a34as42' /* Example Secret Key */
]);
$client->createAssessment("career-deck");
$client = new Traitify\Client([
'host'=>'api-sandbox.traitify.com', /* Example Host */
'version'=>'v1', /* Example Version */
'secretKey'=>'34aeraw23-3a43a32-234a34as42' /* Example Secret Key */
]);
$client->getSlides('a45rasw3-45s3a32-234aas45'); /* Example Assessment Id */
$client = new Traitify\Client([
'host'=>'api-sandbox.traitify.com', /* Example Host */
'version'=>'v1', /* Example Version */
'secretKey'=>'34aeraw23-3a43a32-234a34as42' /* Example Secret Key */
]);
$client->getDecks();
$client = new Traitify\Client([
'host'=>'api-sandbox.traitify.com', /* Example Host */
'version'=>'v1', /* Example Version */
'secretKey'=>'34aeraw23-3a43a32-234a34as42' /* Example Secret Key */
]);
$client->getPersonalityTypes('a45rasw3-45s3a32-234aas45'); /* Example Assessment Id */
$client = new Traitify\Client([
'host'=>'api-sandbox.traitify.com', /* Example Host */
'version'=>'v1', /* Example Version */
'secretKey'=>'34aeraw23-3a43a32-234a34as42' /* Example Secret Key */
]);
$client->getPersonalityTraits('a45rasw3-45s3a32-234aas45'); /* Example Assessment Id */
Installing PHPUnit https://phpunit.de/manual/current/en/installation.html
$ composer install
$ phpunit tests/traitify_client.php