chyroc/go-aliyundrive
Fork: 29 Star: 91 (更新于 2024-11-03 18:06:35)
license: Apache-2.0
Language: Go .
阿里云盘 Go SDK
最后发布版本: v0.9.0 ( 2022-03-24 14:44:38)
go-aliyundrive
阿里云盘 Go SDK
安装
go get github.com/chyroc/go-aliyundrive
使用
初始化 SDK 实例
ins := aliyundrive.New()
// 下面所有提到的 ins 都是指这个实例
登录
user, err := ins.Auth.LoginByQrcode(context.TODO())
读取文件
resp, err := ins.File.GetFileList(context.TODO(), &aliyundrive.GetFileListReq{
DriveID: driveID,
ParentFileID: parentID,
Marker: next,
})
获取分享的内容
sharedInfo, err := ins.ShareLink.GetShareByAnonymous(ctx, &aliyundrive.GetShareByAnonymousReq{
ShareID: shareID,
})
其他
- 阿里云盘命令行客户端: https://github.com/chyroc/aliyundrive-cli
最近版本更新:(数据更新于 1970-01-01 00:00:00)
2022-03-24 14:44:38 v0.9.0
2022-03-09 15:16:33 v0.8.0
2022-03-07 14:34:35 v0.7.0
2022-03-04 09:31:26 v0.6.0
2022-03-03 11:26:08 v0.5.0
2022-02-21 10:47:11 v0.4.0
2022-02-06 17:16:03 v0.3.0
2022-02-01 15:27:14 v0.2.0
主题(topics):
aliyundrive, aliyundriver, aliyunpan
chyroc/go-aliyundrive同语言 Go最近更新仓库
2024-11-21 22:49:20 containerd/containerd
2024-11-21 13:50:50 XTLS/Xray-core
2024-11-21 07:36:18 kubernetes/kubernetes
2024-11-21 06:27:30 ollama/ollama
2024-11-21 05:17:55 Melkeydev/go-blueprint
2024-11-21 04:04:03 dolthub/dolt