azhida / baiduwangpan-api
百度网盘API
Installs: 37
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/azhida/baiduwangpan-api
README
百度网盘API.
Installing
$ composer require azhida/baiduwangpan-api -vvv
Usage
$config = [ 'AppID' => '', 'Appkey' => '', 'Secretkey' => '', 'RedirectUri' => 'http://localhost/bd_pan/get_code', 'rtype' => 1, 'FileFragmentSize' => 4, // 分片上传的单个文件片段大小,单位 M,默认:4M ]; $bdPan = new \Azhida\BaiduwangpanApi\BdPan($config); // 授权 $bdPan->authorize(); // 上传文件 $bdPan->upload('./111.zip', '/apps/111.zip');
Contributing
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
License
MIT