uptobox

1.0.5 • Public • Published

Uptobox

Node library to use uptobox api

Install

yarn add uptobox

Quick Example

Get a premium link

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

getLink

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

Package Sidebar

Install

npm i uptobox

Weekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

24.5 kB

Total Files

5

Last publish

Collaborators

  • jimmylaurent