Added ability to use the special teamwork URL to find out a users details so we can set the users URL automatically if needed:
$client = new Client(new Guzzle, 'Cheese999Burger', '');
$teamwork = new Teamwork($client);
$account = $teamwork->authenticate()->authenticate();
if (empty($account)) {
return 'Bad API Key';
}
print_r($account); //$account['account']['URL'] has the users teamwork URL in it
Added ability to use the special teamwork URL to find out a users details so we can set the users URL automatically if needed: