Skip to content

An unofficial Go package for accessing the Serializd API. Status: work in progress

License

Notifications You must be signed in to change notification settings

Skyth3r/unserializd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unserializd header image

unserializd

An unofficial Go package for accessing the Serializd API

Status: Work in Progress

Getting Started

Installing

Use go get to retrieve the package to add it to your project's Go module dependencies.

go get github.com/skyth3r/unserializd

To update the package use go get -u to retrieve the latest version of the package.

go get -u github.com/skyth3r/unserializd

Docs

🔜

Quick Examples

// Create new client
client := unserializd.NewClient()

// Get user's diary
diary, err := client.Diary("USERNAME")
if err != nil {
    fmt.Println(err)
}
fmt.Println(diary)

// Get user's watched TV Shows
watched, err := client.Watched("USERNAME", 0)
if err != nil {
    fmt.Println(err)
}
fmt.Println(watched)

// Get TV shows on user's watchlist
watchlist, err := client.Watchlist("USERNAME", 0)
if err != nil {
    fmt.Println(err)
}
fmt.Println(watchlist.NumberOfShows)
for _, item := range watchlist.WatchlistItems {
    fmt.Println(item.ShowName)
}

About

An unofficial Go package for accessing the Serializd API. Status: work in progress

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages