Categorygithub.com/YakirOren/sdarot
repositorypackage
1.0.2
Repository: https://github.com/yakiroren/sdarot.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Sdarot

GoDoc

Wrapper for sdarot.tv .

Installation

go get github.com/yakiroren/sdarot

Example Usage

client, _ := sdarot.New(sdarot.Config{
    Username: "user",
    Password: "Password1",
})

// Get episode
video, _ := client.GetVideo(sdarot.VideoRequest{
    SeriesID: 19,
    Season:   1,
    Episode:  1,
})

// save video to file
file, _ := os.Create(fmt.Sprintf("%d.mp4", video.ID))

client.Download(video, file)