Skip to content

A java adapter implementation of Baidu PCS(Baidu Pan) REST API. 百度网盘API(Baidu PCS API)的Java封装。

Notifications You must be signed in to change notification settings

contribute1986/java-baidupcs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

这是什么

百度网盘API(Baidu PCS API)的Java封装,提供适合Java使用的方式访问百度PCS的API。

  1. 百度网盘API的基本适配,遵循API原有定义(使用了Retrofit工具) - blove.baidupcs.service;
  2. 将API进一步封装,更加易用 - blove.baidupcs.api;
  3. 实现用Java NIO文件系统API(java.nio.file)访问百度网盘 - blove.baidupcs.fs;
  4. 实现用Java Scripting API(javax.script)访问百度网盘,并且提供Runner即主方法入口 - blove.baidupcs.script

用于Maven项目依赖

(这个地方的库里是旧的。最好还是用代码构建一个新的包用。)

  • Config dependency
 <dependencies>
  <dependency>
   <groupId>blove.baidupcs</groupid>
   <artifactId>baidupcs</artifactid>
   <version>(LATEST VERSION)</version>
  </dependency>
 </dependencies>

  • Config repository
 <repositories>
  <repository>
   <id>blove-git-releases</id>
   <name>Blove's Release Repository on GitHub</name>
   <url>https://github.com/blovemaple/maven-repository/raw/master/releases</url>
   <releases>
    <enabled>true</enabled>
   </releases>
   <snapshots>
    <enabled>false</enabled>
   </snapshots>
  </repository>
  <repository>
   <id>blove-git-snapshots</id>
   <name>Blove's Snapshot Repository on GitHub</name>
   <url>https://github.com/blovemaple/maven-repository/raw/master/snapshots</url>
   <releases>
    <enabled>false</enabled>
   </releases>
   <snapshots>
    <enabled>true</enabled>
   </snapshots>
  </repository>
 </repositories>

About

A java adapter implementation of Baidu PCS(Baidu Pan) REST API. 百度网盘API(Baidu PCS API)的Java封装。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%