Skip to content

mohan3d/PyOpenload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

182 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyOpenload StarButton

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/.

About

Python client of the Openload.co service.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages