Have ideas to improve npm?Join in the discussion! »

    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

    Install

    npm i uptobox

    DownloadsWeekly Downloads

    3

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    24.5 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar