python wrapper for Naver Ndrive
ndrive is a python wrapper for Naver Ndrive
Below is the sample code to use ndrive module in python
>>> from ndrive import Ndrive >>> nd = Ndrive() >>> nd.login("YOUR_ID","YOUR_PASSWORD") >>> nd.uploadFile("FILE_NAME", "/FILE_NAME") >>> nd.downloadFile("FILE_NAME") >>> nlist = nd.getList("/Photo/", type=3) >>> f = nd.downloadFile(nlist[-1]['href'])
To install ndrive, simply:
$ pip install ndrive
Or, you can use:
$ easy_install ndrive
Or, you can also install manually:
$ git clone https://github.com/carpedm20/ndrive.git $ cd ndrive-master $ python setup.py install
The documentation is available at http://carpedm20.github.io/ndrive/
- Implement all APIs
- command-line tool
Copyright © 2014 Kim Tae Hoon.
The MIT License (MIT)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.