sonnenkern / quip-export Goto Github PK
View Code? Open in Web Editor NEWExport all folders and documents from Quip
License: MIT License
Export all folders and documents from Quip
License: MIT License
Do you think it will be possible to add an option to the script to also include threads at the end of the HTML export? Maybe adding the thread history to the HTML.
Your tool is amazing!! Keep it up!!
With https://quip.com/api/personal-token, it seems that it can only download the documents in the root folder, do you know how to get the token for the subfolders?
Test issue
I am so excited to find this amazing tool for quip export! Just one suggestion: is it possible to replace the links to other files with the local path, instead of a quip web link?
Hi! When someone generates a personal access token, what content is actually exported?
Is it an export of the entire site?
Is it an export of docs owned by the person?
Is it an export of the personal folder?
Is it an export of docs the person was a full access member of?
Thanks!
Cathy
Hi Alexander,
First off, I want to commend you for this great repo. CLI is slick, tests are great, really well done!
Quip's automation API offers the ability to export threads to Documents and Spreadsheets: https://quip.com/dev/automation/documentation#export-document-to-docx
Would it be possible to add this as a cli option to additionally exports documents as docx and spreadhseets as xlsx (in addition to the original .html)
Thanks for sharing this code. it seems to be used fully for all. but when I am executing this code found repeatability of instruction. I am not able to export data from quip. when I execute a token statement it asks for security open and once I click on open it shows me instructions again. Can you please let me know what mistake I do ?
Sometimes the remote API endpoint returns back with HTTP 429 if too many requests are made to quickly. This can happen with as few as 79 documents to export from a folder.
Implement detection and a forced pause and retry if HTTP 429 is returned. Reduce the number of API calls made per second to accommodate.
Otherwise add a command line option to restrict to one download/thread at a time.
Example from export.log of failed run:
[29-03-2022 08:05:16.916] DEBUG: Couldn't fetch /threads/redactedidhere/export/docx, received 429
[29-03-2022 08:05:16.941] DEBUG: Couldn't fetch /threads/redactedidhere/export/docx, received 429
[29-03-2022 08:05:16.959] DEBUG: Couldn't fetch /threads/redactedidhere/export/docx, received 429
[29-03-2022 08:05:16.961] DEBUG: Couldn't fetch /threads/redactedidhere/export/docx, received 429
[29-03-2022 08:05:16.974] DEBUG: Couldn't fetch /threads/redactedidhere/export/docx, received 429
[29-03-2022 08:05:16.976] DEBUG: Couldn't fetch /threads/redactedidhere/export/docx, received 429
[29-03-2022 08:05:17.011] DEBUG: Couldn't fetch /threads/redactedidhere/export/docx, received 429
[29-03-2022 08:05:17.020] DEBUG: Couldn't fetch /threads/redactedidhere/export/docx, received 429
[29-03-2022 08:05:17.064] DEBUG: Couldn't fetch /threads/redactedidhere/export/docx, received 429
[29-03-2022 08:05:17.076] DEBUG: Couldn't fetch /threads/redactedidhere/export/docx, received 429
[29-03-2022 08:05:17.141] DEBUG: Couldn't fetch /threads/redactedidhere/export/docx, received 429
[29-03-2022 08:05:17.213] DEBUG: Couldn't fetch /threads/redactedidhere/export/docx, received 429
[29-03-2022 08:05:17.234] DEBUG: Couldn't fetch /threads/redactedidhere/export/docx, received 429
Hello,
I have been using your script but i am never able to get to a full backup from 2561 threads. It keeps on failing.
Any ideas on what i can do to get a full backup?
Thanks
Each time I run this with a token from Quip, I am getting Quip-Export v2.3.2
ERROR: Token is wrong or expired.
Yet, I am using the token provided to me from https://quip-amazon.com/dev/token.
Whay are the limitations to using this? I suppose organizations can disable API access?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.