imdb

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package imdb implements the social interface for imdb service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List struct {
	Name         string
	OriginalName string
	Directors    string
	Year         string
	YourRating   string
	URL          string
	ImgURL       string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
}

List represents the official input data fields.

func (*List) BindFile

func (i *List) BindFile(record *[]string) error

BindFile binds the CSV values into the List struct.

func (*List) BindHTML

func (i *List) BindHTML(shortcode, comment *string, model string) error

BindHTML generates the Hugo shortcode for the List struct.

func (*List) FetchFromHTTP

func (i *List) FetchFromHTTP() error

FetchFromHTTP gets additional values from the URLs for the List struct.

type ListComplete

type ListComplete struct {
	Name         string
	OriginalName string
	Directors    string
	Year         string
	YourRating   string
	URL          string
	ImgURL       string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Position     string
	Const        string
	Created      string
	Modified     string
	Description  string
	TitleType    string
	IMDbRating   string
	RuntimeMins  string
	Genres       string
	NumVotes     string
	ReleaseDate  string
	DateRated    string
}

ListComplete represents the official input data fields.

func (*ListComplete) BindFile

func (i *ListComplete) BindFile(record *[]string) error

BindFile binds the CSV values into the ListComplete struct.

func (*ListComplete) BindHTML

func (i *ListComplete) BindHTML(shortcode, comment *string, model string) error

BindHTML generates the Hugo shortcode for the ListComplete struct.

func (*ListComplete) FetchFromHTTP

func (i *ListComplete) FetchFromHTTP() error

FetchFromHTTP gets additional values from the URLs for the ListComplete struct.

type Ratings

type Ratings struct {
	Name         string
	OriginalName string
	Directors    string
	Year         string
	YourRating   string
	IMDbRating   string
	URL          string
	ImgURL       string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
}

Ratings represents the official input data fields.

func (*Ratings) BindFile

func (i *Ratings) BindFile(record *[]string) error

BindFile binds the CSV values into the Ratings struct.

func (*Ratings) BindHTML

func (i *Ratings) BindHTML(shortcode, comment *string, model string) error

BindHTML generates the Hugo shortcode for the Ratings struct.

func (*Ratings) FetchFromHTTP

func (i *Ratings) FetchFromHTTP() error

FetchFromHTTP gets additional values from the URLs for the Ratings struct.

type RatingsComplete

type RatingsComplete struct {
	Name         string
	OriginalName string
	Directors    string
	Year         string
	YourRating   string
	IMDbRating   string
	URL          string
	ImgURL       string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Const        string
	TitleType    string
	DateRated    string
	RuntimeMins  string
	Genres       string
	NumVotes     string
	ReleaseDate  string
}

RatingsComplete represents the official input data fields.

func (*RatingsComplete) BindFile

func (i *RatingsComplete) BindFile(record *[]string) error

BindFile binds the CSV values into the RatingsComplete struct.

func (*RatingsComplete) BindHTML

func (i *RatingsComplete) BindHTML(shortcode, comment *string, model string) error

BindHTML generates the Hugo shortcode for the RatingsComplete struct.

func (*RatingsComplete) FetchFromHTTP

func (i *RatingsComplete) FetchFromHTTP() error

FetchFromHTTP gets additional values from the URLs for the RatingsComplete struct.

type Watchlist

type Watchlist struct {
	Name         string
	OriginalName string
	Directors    string
	Year         string
	Created      string
	Position     string
	URL          string
	ImgURL       string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
}

Watchlist represents the official input data fields.

func (*Watchlist) BindFile

func (i *Watchlist) BindFile(record *[]string) error

BindFile binds the CSV values into the Watchlist struct.

func (*Watchlist) BindHTML

func (i *Watchlist) BindHTML(shortcode, comment *string, model string) error

BindHTML generates the Hugo shortcode for the Watchlist struct.

func (*Watchlist) FetchFromHTTP

func (i *Watchlist) FetchFromHTTP() error

FetchFromHTTP gets additional values from the URLs for the Watchlist struct.

type WatchlistComplete

type WatchlistComplete struct {
	Name         string
	OriginalName string
	Directors    string
	Year         string
	Created      string
	Position     string
	URL          string
	ImgURL       string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Const        string
	Modified     string
	Description  string
	TitleType    string
	IMDbRating   string
	RuntimeMins  string
	Genres       string
	NumVotes     string
	ReleaseDate  string
	YourRating   string
	DateRated    string
}

WatchlistComplete represents the official input data fields.

func (*WatchlistComplete) BindFile

func (i *WatchlistComplete) BindFile(record *[]string) error

BindFile binds the CSV values into the WatchlistComplete struct.

func (*WatchlistComplete) BindHTML

func (i *WatchlistComplete) BindHTML(shortcode, comment *string, model string) error

BindHTML generates the Hugo shortcode for the WatchlistComplete struct.

func (*WatchlistComplete) FetchFromHTTP

func (i *WatchlistComplete) FetchFromHTTP() error

FetchFromHTTP gets additional values from the URLs for the WatchlistComplete struct.

Jump to

Keyboard shortcuts

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