UNPKG

terabox-api

Version:

NodeJS tool for interacting with the TeraBox cloud service without the need to use the website or app ☁️

177 lines (156 loc) 5.98 kB
``` PCS API: http://developer.baidu.com/wiki/index.php?title=docs/pcs/rest/file_data_apis_list https://github.com/ly0/baidupcsapi/blob/master/baidupcsapi/api.py https://github.com/PeterDing/BaiduPCS-Py https://github.com/felixonmars/BaiduPCS-Go https://github.com/ywzhaiqi/userscript https://github.com/Yao544303/TeraboxFilesTransfer/tree/main https://www.dubox.com/disk/home#/all?path=%2F&vmode=list https://pan.baidu.com/union https://pan.baidu.com/union/document/entrance https://pan.baidu.com/union/doc/ https://www.terabox.com/integrations/docs OAuth: http://developer.baidu.com/wiki/index.php?title=docs/oauth http://developer.baidu.com/wiki/index.php?title=docs/oauth/overview https://www.terabox.com/wap/outlogin/login?type=2&redirectUrl=http%3A%2F%2Flocalhost:3000%2F https://www.terabox.com/login?from=pc&lang=en&show_third_login=1 https://www.terabox.com/share/teratransfer/sharelist?app_id=250528&web=1&channel=dubox&clienttype=0&page=1&page_size=10 https://www.staticcc.com/fe-opera-static/node-static-v4/fe-webv4-main/js/login.71e8269f.js https://www.terabox.fun/wap/outlogin/login?type=2&redirectUrl=https%3A%2F%2Fwww.terabox.fun%2F https://www.terabox.com/closeAccount https://www.terabox.com/clearData https://www.terabox.com/login/accountbinding https://www.terabox.com/wap/glodminer?show_type=3 https://www.terabox.com/wap/commercial/taskcenter https://www.terabox.com/wap/commercial/taskcenter?version=3.34.1 https://www.terabox.com/wap/commercial/usercenter?isNewCommercial=1 https://www.terabox.com/wap/taskcenter/signin https://www.terabox.com/wap/taskcenter/game-center https://www.terabox.com/wap/commercial/spacelist https://www.terabox.com/wap/commercial/space https://www.terabox.com/wap/commercial https://www.terabox.com/wap/outlogin/login https://www.terabox.com/wap/hylogin/login https://www.terabox.com/wap/coins https://www.terabox.com/wap/activity https://www.terabox.app/sharing/link?surl= https://www.terabox.com/pfile/docview?path=/TeraBox.pdf https://www.terabox.com/api/locatedownload ?app_id=250528 &web=1 &channel=dubox &client=web &clienttype=0 &bdstoken= &jsToken= &path=/TeraBox.pdf &origin=pdf &use=1 https://www.terabox.com/wap/hylogin/resetpassword https://www.terabox.com/wap/help-center https://www.terabox.com/wap/safetyInstructions https://www.terabox.com/wap/webguide https://www.terabox.com/wap/tvbox /wap/terabox-cloud-storage-for-apk-free-download /wap/terabox-cloud-storage-for-pc-free-download /wap/cloud-storage-pricing-plans /wap/make-money-online https://www.terabox.fun/wap/shortlink/cpm path: "/wap/hylogin/verifysendemail/" + n.type === "register" ? "register" : "bindemail" path: "/wap/tvbox/register" path: "/wap/tvbox/verifysendemail/:type" /wap/publicity /wap/publicity/index path: "/wap/shortlink/free-cloud-storage", path: "/wap/shortlink/faq", path: "/wap/shortlink/cpm", path: "/wap/shortlink/privacyPolicy", path: "/wap/shortlink/dashboard", path: "/wap/shortlink/links", path: "/wap/shortlink/mylinks", path: "/wap/shortlink/revenue", path: "/wap/shortlink/config", path: "/wap/shortlink", path: "/wap/shortlink/multilink", path: "/wap/shortlink/pageShortlinkTool", path: "/wap/shortlink/cloudFile", path: "/wap/shortlink/remoteUploadFile", path: "/wap/shortlink/shareVideo", path: "/wap/shortlink/search-resource", path: "/wap/shortlink/search-result", path: "/wap/shortlink/referral", path: "/wap/outlogin/login", path: "/wap/outlogin/register", path: "/wap/outlogin/verifysendemail/:type", path: "/wap/outlogin/resetpassword", path: "/wap/outlogin/accountbinding", path: "/wap/outlogin/loginprotect", path: "/wap/outlogin/loginprotectpre", path: "/wap/outlogin/resetpasswordsendEmail", path: "/wap/outlogin", path: "/wap/outlogin/emailRegister", path: "/wap/outlogin/emailVerfify", path: "/wap/outlogin/phoneRegister", /wap/commercial/usercenter /wap/commercial/taskcenter /wap/coins/home /wap/outlogin/accountbinding /wap/hyactivity/changename /wap/hyactivity/winning /wap/hyactivity/collectname /wap/hyactivity https://www.terabox.com/wap/signin/h5/emailovertime/resetpwd path: "/wap/signin/h5/emailovertime/" + this.from path: "/wap/signin/h5/verifysuccess" path: "/wap/signin/h5/emailinvalid/frequency" path: "/wap/signin/h5/emailinvalid/others?code=" + t.code path: "/wap/signin/h5/verifysuccess?from=" + e.from + "&open_from=" + t.from /wap/signin/h5/resetpassword /wap/signin/h5/emailovertime/:type /wap/signin/h5/resetsuccess /wap/signin/h5/verify /wap/signin/h5/emailinvalid/:type /wap/signin/h5/verifysuccess /wap/signin/h5 path: "/wap/usbPromortion", "wap/commercial/redeem?entry=usb&isNewCommercial=1" https://www.terabox.com/wap/commercial/autopay https://www.terabox.com/wap/commercial/markupPurchase https://www.terabox.com/wap/commercial/purchasesuccess https://www.terabox.com/wap/commercial/consumptions https://www.terabox.com/wap/commercial/membershipagreement https://www.terabox.com/wap/commercial/couponlistpage https://www.terabox.com/wap/commercial/pullnew https://www.terabox.com/wap/commercial/recipient https://www.terabox.com/wap/commercial/redeem https://www.terabox.com/wap/cancellation/verification https://www.terabox.com/rest/recent/listall?version=3 https://www.terabox.com/rest/2.0/netdisk/dumptimestamp curl -H "Cookie: ndus=..." "https://www.terabox.com/api/userdata/delete?app_id=250528&web=1&client=web&channel=dubox&clienttype=5&psign=0&type=%5B1%2C2%5D" curl -H "Cookie: ndus=..." -X POST "https://terabox.com/passport/account/modify" -d "client=android&pass_version=2.0&devuid=?&psign=?&uname=TeraBox" https://www.terabox.com/passport/prelogin? ...TERABOX_APP_PARAMS jsToken= client=web pass_version=2.8 lang=en clientfrom=h5 pcftoken= email=encoded CODED-- https://www.terabox.com/share/aset? ...TERABOX_APP_PARAMS jsToken= app=universe schannel=0 channel_list=[0] period=0 path_list=[] from=teraTransfer pwd= https://www.terabox.com/share/taskquery?taskid=123 ```