wwt-simple-upload-npm

1.1.1 • Public • Published

wwt-simple-upload-npm

A (really easy to use) uploader for WorldWideTorrents written for NodeJS.

Usage

import upload from 'wwt-simple-upload-npm'
const API_KEY = ''
 
upload(
    API_KEY,
  {
    'name': '',                         // The uploaded torrent's title
    'torrent_file': '/home/a.torrent',  // The full path to the torrent file
    'category_id': 39                   // The category ID
  }
)

License

The MIT License (MIT). Please see License File for more information.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i wwt-simple-upload-npm

    Weekly Downloads

    0

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    3.56 kB

    Total Files

    5

    Last publish

    Collaborators

    • owenvoke