115driver
115driver copied to clipboard
This is a 115 cloud driver package.
115driver
🖴 A 115 cloud driver package.
Features
- Login
- [X] Import credential from cookies
- [x] Login via QRCode
- [X] Get signed-in user information
- File
- [X] List
- [X] Rename
- [X] Move
- [X] Copy
- [X] Delete
- [X] Make Directory
- [X] Download
- [X] Upload
- [X] Rapid Upload
- [ ] Search
- [X] Get Information by ID
- [X] Stat File
- [x] Download by share code
Example
package main
import (
"github.com/SheltonZhu/115driver/pkg/driver"
"log"
)
func main() {
cr := &driver.Credential{
UID: "xxx",
CID: "xxx",
SEID: "xxx",
}
// or err := cr.FromCookie(cookieStr)
client := driver.Defalut().ImportCredential(cr)
if err := driver.LoginCheck(); err != nil {
log.Fatalf("login error: %s", err)
}
}
More examples can be found in reference.
Contributors
|
SheltonZhu |
xhofe |
Ovear |
License
MIT