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
openload = OpenLoad('login', 'key')
account_info = openload.account_info()
print(account_info)
Upload file
from openload import OpenLoad
openload = OpenLoad('login', 'key')
uploaded_file_info = openload.upload_file('/home/username/file.txt')
print(uploaded_file_info)
Retrieve file info
from openload import OpenLoad
openload = OpenLoad('login', 'key')
# Random file id.
file_id = 'YMTqhQAuzVX'
file_info = openload.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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pyopenload-0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4a7a1da2a855c20c1936391a8bed8b0dfacd78cb081c0f7031d2f13941fa687 |
|
MD5 | b807e8d52c9620041514493e7acb9c62 |
|
BLAKE2b-256 | bbd3571222b5f57b69411596f1e00a4394c3fed1196c2b0f0fe6ad378c09e096 |