Python wrapper for openload.co API
Project description
python wrapper for Openload.co API.
Install
$ pip install pyopenload
Usage
All API features are implemented.
Retrieve account info
from openload import OpenLoad
ol = OpenLoad('login', 'key')
account_info = ol.account_info()
print(account_info)
Upload file
from openload import OpenLoad
ol = OpenLoad('login', 'key')
uploaded_file_info = ol.upload_file('/home/username/file.txt')
print(uploaded_file_info)
Retrieve file info
from openload import OpenLoad
ol = 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/.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyopenload-0.7.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for pyopenload-0.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ce29aab376ca78386edfa5bb9f96c5dfc1c96c807e10e62096f359ee198b104 |
|
MD5 | a0ab381e6ae225d934817f411a47b6e9 |
|
BLAKE2b-256 | 4dc531041acf6ac351dbb988276a8b4a931a128b1229c0ccfb3a6e3d848c815f |