trackt

package
v0.0.0-...-e30276e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Type    string  `json:"type"`
	Episode Episode `json:"episode,omitempty"`
	Show    Show    `json:"show,omitempty"`
	Movie   Movie   `json:"movie,omitempty"`
}

Entry represents a single entry, film or episode, in the trakt json

func (Entry) String

func (e Entry) String() string

type Episode

type Episode struct {
	Season int    `json:"season"`
	Number int    `json:"number"`
	Title  string `json:"title"`
}

Episode represents a single episode in the trakt json

func (Episode) String

func (e Episode) String() string

type Movie

type Movie struct {
	Title string `json:"title"`
	Year  int    `json:"year"`
}

Movie represents a single movie in the trakt json

func (Movie) String

func (m Movie) String() string

type Show

type Show struct {
	Title string `json:"title"`
}

Show contains the parent show information for the returned episode

func (Show) String

func (s Show) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL