SheltonZhu / 115driver

This is a 115 cloud driver package.
MIT License
67 stars 25 forks source link

115driver

🖴 A 115 cloud driver package.

Goreport Release Reference LicenseDownloads


Features

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