Skip to content
forked from fcicq/vdisk_lib

vdisk.me (vdisk.weibo.com) api & client implementation in Python

Notifications You must be signed in to change notification settings

a4a881d4/vdisk_lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vdisk_lib

vdisk.me (vdisk.weibo.com) api & client implementation in Python

Released under MIT License.

Experimental. feel free to report problems on github. Fork is encouraged! :)

usage: vdisk.py [-h] [-u USER] [-p PASS] [--traverse] [--vdiskuser]
                [--path PATH] [--fid FID] [--ls] [--quota] [--upload]
                [--secretshare] [--getinfo]
                [files [files ...]]

VDisk CLI Client by fcicq, ver 0.1

positional arguments:
  files                 Files to be uploaded

optional arguments:
  -h, --help            show this help message and exit
  -u USER, --user USER  Account (Weibo or Vdisk)
  -p PASS, --pass PASS  Password
  --traverse            Use with --ls, to traverse all directory recursively
  --vdiskuser           Use Vdisk account (rather than weibo account)
  --path PATH           Upload Path, default is /, will be created if not
                        exist
  --fid FID             File ID
  --ls                  List files
  --quota               Check available space
  --upload              Upload file to vdisk
  --secretshare         Get secret sharing link
  --getinfo             Get file info (with direct download link)
Example Usage:
-u EMAIL -p "PASSWORD" --upload file1 file2 file3 ...
-u EMAIL -p "PASSWORD" --ls
-u EMAIL -p "PASSWORD" --ls --path DIRECTORY
-u EMAIL -p "PASSWORD" --quota
-u EMAIL -p "PASSWORD" --fid FID --getinfo
-u EMAIL -p "PASSWORD" --fid FID --secretshare

About

vdisk.me (vdisk.weibo.com) api & client implementation in Python

Resources

Stars

Watchers

Forks

Packages

No packages published