Skip to main content

Python wrapper for openload.co API

Project description

python wrapper for Openload.co API.

pypi format CodacyBadge license

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyopenload-0.5-py2.py3-none-any.whl (8.1 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Aug 19, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page