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.6.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for pyopenload-0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b91262c07f4576bd9c47c53a09b1b5e92f8ee7d97283c741652a71f58a8fcc4f |
|
MD5 | 1286df61458306d5864f0c339c4f2de6 |
|
BLAKE2b-256 | c437844b628efd555a16e5a137c212f4a715a6d73967963bf5e64cdcbc304ae3 |