Skip to content

This is a 115 cloud driver package.

License

Notifications You must be signed in to change notification settings

xhofe/115driver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

115driver

🖴 A 115 cloud driver package.

Goreport Release Reference LicenseDownloads


Features

  • 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

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
SheltonZhu
xhofe
xhofe
Ovear
Ovear
power721
power721

License

MIT

About

This is a 115 cloud driver package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%