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/.
Release files for pyopenload 0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyopenload-0.7.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyopenload-0.7-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 14.6 kB
Release files / pyopenload-0.7.tar.gz
| Download URL | pyopenload-0.7.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
968adb8fcb2c9a0de8556cb30d72d6088f7e137fe1e432b8b6619a54e05c38d6
|
|
BLAKE2b-256 checksum How to use checksums |
13bf069d19f89968ba87ccb5adfeebff1c733b82bd25fb95ad8bb3ee233c3640
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2
|
Release files / pyopenload-0.7-py2.py3-none-any.whl
| Download URL | pyopenload-0.7-py2.py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9ce29aab376ca78386edfa5bb9f96c5dfc1c96c807e10e62096f359ee198b104
|
|
BLAKE2b-256 checksum How to use checksums |
4dc531041acf6ac351dbb988276a8b4a931a128b1229c0ccfb3a6e3d848c815f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2
|