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