public __construct ( integer $clientId = 1, string $clientSecret = '' ) | ||
$clientId | integer | |
$clientSecret | string |
public function __construct($clientId = 1, $clientSecret = '')
{
$this->clientId = $clientId;
$this->clientSecret = $clientSecret;
$this->apiUrl = self::BASE_URL . 'api/v3/';
$this->authUrl = self::BASE_URL . 'oauth/';
}