Python wrapper for openload.co API
Project description
python wrapper for Openload.co API.
Install
pip install pyopenload
Usage
All methods return python dictionary
from openload import OpenLoad
openload = OpenLoad('login', 'key')
# User email
account_info = openload.account_info()
print(account_info['email'])
# Download Ticket
download_data = openload.prepare_download('file_id')
print(download_data['ticket'])
print(download_data['captcha_url'])
# Download Link
download_url_data = openload.get_download_link('file_id', 'ticket', 'captcha_response')
print(download_url_data['name'])
print(download_url_data['url'])
# Upload file
openload.upload_file('file_path')
TODO
[ ] Tests
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.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c83882ec4a6237a272b374547652612e83769f710b2ad27f287d30f2f6cf1f3 |
|
MD5 | 96b9f1442bce2298a389963735aab373 |
|
BLAKE2b-256 | 91e213e580df0871af72be6dd24244ba4b52b354efd5ff79e2eeffd98ae7156c |