Skip to content

isaacxbt/TransfershAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Transfer.sh-api

License Python 3.x

Transfersh is a Python library for upload files on transfer.sh.

About

This Python API was created to make uploading and downloading files from transfer.sh simple.

Installation

pip install transfersh-cli && pip install wget

Usage

Upload files

transfersh "filepath"

Download files

import wget


try:

    download = wget.download("direct URL") # How? https://encrypting.host/uRZkzQnPb8.gif?key=R4WzyRMxLBDjcp
  
except Exception as e:
    print(e)
    # your file can't be downloaded.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.