ndrive is a python wrapper for NAVER Ndrive (http://ndrive.naver.com).
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'])
Installation
To install ndrive, simply:
$ apt-get install python-dev
$ apt-get install python-nss
$ apt-get install libnspr4-dev
$ 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
Documentation
The documentation is available at here
To-do
- Implement all APIs
- command-line tool
Copyright
Copyright © 2015 Kim Tae Hoon.
The MIT License (MIT)