Skip to content

RinkaGI/transfer.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Use transfer.sh on python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages