Discover Packages
github.com/lightglitch/seekerr
services
trakt
package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Jun 27, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
TRAKT_URL = "https://api.trakt.tv/"
TRAKT_PAGE_LIMIT = 100
)
type Movie struct {
IDs struct {
Imdb string `json:"imdb"`
Slug string `json:"slug"`
Tmdb int `json:"tmdb"`
Trakt int `json:"trakt"`
} `json:"ids"`
Title string `json:"title"`
Year int `json:"year"`
}
Movie struct for the Trakt v2 API
type MovieItem struct {
Watchers int `json:"watchers"`
Movie Movie `json:"movie"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.