Skip to content

YakirOren/sdarot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

A Go wrapper for sdarot.tv.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages