Metadata-Version: 1.1
Name: 115wangpan
Version: 0.2.1
Summary: Unofficial Python API wrapper for 115.com
Home-page: https://github.com/shichao-an/115wangpan
Author: Shichao An
Author-email: shichao.an@nyu.edu
License: BSD
Description: 115 Wangpan
        ===========
        
        |Build| |PyPI version|
        
        115 Wangpan (115网盘) is an unofficial Python API for 115.com, mainly pertinent to its "lixian" (offline) features. Currently, only limited features have been implemented. Supported Python verisons are 2.6, 2.7 and 3.3.
        
        * Documentation: http://115wangpan.readthedocs.org
        * GitHub: https://github.com/shichao-an/115wangpan
        * PyPI: https://pypi.python.org/pypi/115wangpan/
        
        
        Features
        --------
        
        * Authentication
        * Tasks management (BitTorrent currently supported)
        * File management
        
        Installation
        ------------
        
        .. code-block:: bash
        
            $ pip install 115wangpan
        
        
        Usage
        -----
        .. code-block:: python
        
            >>> import u115
            >>> api = u115.API()
            >>> api.login('username@example.com', 'password')
            True
            >>> tasks = api.get_tasks()
            >>> task = tasks[0]
            >>> print task.name
            咲-Saki- 阿知賀編 episode of side-A
            >>> print task.status_human
            TRANSFERRED
            >>> print task.size_human
            1.6 GiB
            >>> files = task.list()
            >>> files
            [<File: 第8局 修行.mkv>]
            >>> f = files[0]
            >>> f.get_download_url()
            u'http://cdnuni.115.com/some-very-long-url.mkv'
            >>> f.directory
            <Directory: 咲-Saki- 阿知賀編 episode of side-A>
            >>> f.directory.parent
            <Directory: 离线下载>
        
        
        .. |Build| image:: https://api.travis-ci.org/shichao-an/115wangpan.png?branch=master
           :target: http://travis-ci.org/shichao-an/115wangpan
        .. |PyPI version| image:: https://pypip.in/v/115wangpan/badge.png
           :target: https://pypi.python.org/pypi/115wangpan/
        
Keywords: 115 wangpan pan cloud lixian
Platform: UNKNOWN
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
