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/'; }