Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

uptobox

JimmyLaurent24MIT1.0.5

Node library to use uptobox api

uptobox, download, premium, link

readme

Uptobox

Node library to use uptobox api

Install

yarn add uptobox

Quick Example

const { setToken, getLink } = require('uptobox');

(async () => {
  setToken('{YOU_TOKEN}');
  const premiumLink = await getLink('{YOUR_URL_OR_FILE_CODE}');
  console.log(premiumLink);
})();

API Reference

All the following methods are avalaible.

Feel free to consult the uptobox api documentation and look the code to get more informations.

getToken

setToken

getUser

enableOnlySecureDownload

disableOnlySecureDownload

enableDirectDownload

disableDirectDownload

enableSecurityLock

disableSecurityLock

convertPoints

updateFile

updateFilesPublicOption

moveFolder

moveFiles

copyFiles

renameFolder

createFolder

deleteFiles

getFilesOrFolders

deleteFolder

getUptoboxFileId

getLinkInfo

addToAccount

login

getFilesOrFolders

createFolderOrGetExistingOne

getFolder

License

MIT © 2019 Jimmy Laurent