コード例 #1
0
ファイル: Vzaar.php プロジェクト: reuf/laravel-vzaar
 /**
  * This API call returns the details and rights for each vzaar account
  * type along with it's relevant metadata
  * http://vzaar.com/api/accounts/{account}.json
  * @static
  * @param integer $account is the vzaar account type. This is an integer.
  * @return AccountType
  */
 public static function getAccountDetails($account)
 {
     $_url = self::$url;
     $c = new HttpRequest($_url . 'api/accounts/' . $account . '.json');
     $c->verbose = Vzaar::$enableHttpVerbose;
     return AccountType::fromJson($c->send());
 }