Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Python wrapper for openload.co API

Project description

python wrapper for Openload.co API.

travis pypi format CodacyBadge license

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.

Files for pyopenload, version 0.7
Filename, size File type Python version Upload date Hashes
Filename, size pyopenload-0.7-py2.py3-none-any.whl (7.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pyopenload-0.7.tar.gz (7.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page