baidu-pcs-python-sdk travis-ci python

百度个人云存储(PCS)Python SDK. (推荐改用百度网盘 API: https://github.com/ly0/baidupcsapi )

3 years after

BaiduPCS

|Build| |Coverage| |Pypi version| |Pypi downloads|

百度个人云存储(PCS) <http://developer.baidu.com/ms/pcs>__ Python SDK.

Installation

To install baidupcs, simply:

.. code-block:: bash

$ pip install baidupcs

Basic Usage

.. code-block:: python

>>> from baidupcs import PCS
>>> pcs = PCS('access_token')
>>> response = pcs.info()
>>> response
<Response [200]>
>>> response.ok
True
>>> response.status_code
200
>>> response.content
'{"quota":6442450944,"used":5138887,"request_id":1216061570}'
>>> response.json()
{u'used': 5138887, u'quota': 6442450944L, u'request_id': 1216061570}

FAQ

Please visit Wiki <https://github.com/mozillazg/baidu-pcs-python-sdk/wiki>__ .

.. |Build| image:: https://api.travis-ci.org/mozillazg/baidu-pcs-python-sdk.png?branch=master :target: http://travis-ci.org/mozillazg/baidu-pcs-python-sdk .. |Coverage| image:: https://coveralls.io/repos/mozillazg/baidu-pcs-python-sdk/badge.png?branch=master :target: https://coveralls.io/r/mozillazg/baidu-pcs-python-sdk .. |Pypi version| image:: https://pypip.in/v/baidupcs/badge.png :target: https://crate.io/packages/baidupcs .. |Pypi downloads| image:: https://pypip.in/d/baidupcs/badge.png :target: https://crate.io/packages/baidupcs

Related Repositories

baidupcsapi

baidupcsapi

百度网盘api ...

baidupcsapi

baidupcsapi

百度网盘api ...


Top Contributors

mozillazg fy0

Releases

-   v0.3.2 zip tar
-   v0.3.1 zip tar
-   v0.3.0 zip tar
-   v0.2.0 zip tar
-   v0.1.0 zip tar