Example #1
0
 /**
  * This API call returns the user's public details along with it's relevant metadata
  * @static
  * @param  $account
  * @return User
  */
 public static function getUserDetails($account)
 {
     $_url = self::$url;
     $req = new HttpRequest($_url . 'api/' . $account . '.json');
     $req->verbose = Vzaar::$enableHttpVerbose;
     return User::fromJson($req->send());
 }