Skip to content

Repository files navigation

PyOpenload StarButton

python wrapper for Openload.coAPI.

travispypiformatCodacyBadgelicense

Install

$ pip install pyopenload

Usage

All API features are implemented.

Retrieve account info

fromopenloadimportOpenLoadol=OpenLoad('login', 'key')
account_info=ol.account_info()
print(account_info)

Upload file

fromopenloadimportOpenLoadol=OpenLoad('login', 'key')
uploaded_file_info=ol.upload_file('/home/username/file.txt')
print(uploaded_file_info)

Retrieve file info

fromopenloadimportOpenLoadol=OpenLoad('login', 'key')
# Random file id.file_id='YMTqhQAuzVX'file_info=ol.file_info(file_id)
print(file_info)

Documentation

documentation is available at https://pyopenload.readthedocs.io/.

About

Python client of the Openload.co service.

Topics

Resources

Stars

31 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages