Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 662 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 662 Bytes

transfer.py

Use transfer.sh with python

Python

Maybe u can donate me on Bitcoin : bc1q6kyex89x9ppqw0kww9qfrtfrta6sdhnvgjz87r

Installation

Install transfer.py with pip

    pip install transfershpy

Usage/Examples

Download a file:

downloadFile('https://transfer.sh/2olwuBElm6/hello.txt', 'hello.txt')

Upload a file (simple way):

uploadFile('hello.txt', 'https://transfer.sh/hello.txt')

Upload a file (complete way):

uploadFile('hello.txt', 'https://transfer.sh/hello.xt', maxDays=30, maxDownloads=5)