Metadata-Version: 2.0
Name: pyopenload
Version: 0.4
Summary: Python wrapper for openload.co API
Home-page: https://github.com/mohan3d/PyOpenload
Author: Mohaned Magdy
Author-email: mohan3d94@gmail.com
License: MIT
Keywords: openload,wrapper,api,api client
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: requests (>=2.18.3)

PyOpenload
==========

|Codacy Badge|

python wrapper for `Openload.co`_ `API`_.

Install
-------

.. code:: sh

    pip install pyopenload

Usage
-----

All methods return python dictionary

.. code:: python

    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

.. _Openload.co: https://openload.co
.. _API: https://openload.co/api

.. |Codacy Badge| image:: https://api.codacy.com/project/badge/Grade/42d0f198fcbe43daae71e21b6a3540fe
   :target: https://www.codacy.com/app/mohan3d94/PyOpenload?utm_source=github.com&utm_medium=referral&utm_content=mohan3d/PyOpenload&utm_campaign=badger

