quip-export icon indicating copy to clipboard operation
quip-export copied to clipboard

[Feature Request/Hint] Support of specific quip instances

Open bass000 opened this issue 1 year ago • 1 comments

Our company uses a specific endpoint for quip: quip-COMPANY.com

That would be a nice feature to have this as a parameter.

As a workaround, hardcoding and then running from the code npx quip-export works:

diff --git a/lib/QuipService.js b/lib/QuipService.js
index 79d940b..31a10e3 100644
--- a/lib/QuipService.js
+++ b/lib/QuipService.js
@@ -4,7 +4,7 @@ const LoggerAdapter = require('./common/LoggerAdapter');
 const TIMES_LIMIT_503 = 10;

 class QuipService {
-    constructor(accessToken, apiURL='https://platform.quip.com:443/1') {
+    constructor(accessToken, apiURL='https://platform.quip-COMPANY.com:443/1') {
         this.accessToken = accessToken;
         this.apiURL = apiURL;
         this.logger = new LoggerAdapter();

bass000 avatar Aug 30 '24 16:08 bass000

PR #48 seems to solve this, just needs to get merged in

cdeszaq avatar Mar 27 '25 04:03 cdeszaq