Skip to content

利用百度盘的接口, 实现文件上传和下载功能

License

Notifications You must be signed in to change notification settings

easyhappy/baidupan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gem描述 主要通过命令行 管理百度云盘的数据;

https://rubygems.org/gems/baidupan

TODO: Write a gem description

Installation

Add this line to your application's Gemfile:

gem 'baidupan'

And then execute:

$ bundle

Or install it yourself as:

$ gem install baidupan

Usage

如何使用该gem:

基本命令:

  • baidupan setup 添加文件信息

  • baidupan config 进行授权

  • baidupan list or ls 显示app应用的文件列表

  • baidupan upload 文件

  • 更多命令 请运行baidupan 查看即可

Todo:

  • 移动文件的位置

  • 删除文件

  • 对文件重命名

已经实现:

  • 通过配置连接百度盘

  • 能够上传、下载以及显示文件

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

利用百度盘的接口, 实现文件上传和下载功能

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages