letterboxd

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2025 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package letterboxd implements the social interface for letterboxd service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Diary

type Diary struct {
	Name     string
	Director string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Year     string
	URL      string
	ImgURL   string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Date     string
	Rating   string
}

Diary represents the official input data fields.

func (*Diary) BindFile

func (l *Diary) BindFile(record *[]string) error

BindFile binds the CSV values into the Diary struct.

func (*Diary) BindHTML

func (l *Diary) BindHTML(shortcode, comment *string, model string) error

BindHTML generates the Hugo shortcode for the Diary struct.

func (*Diary) FetchFromHTTP

func (l *Diary) FetchFromHTTP() error

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

type DiaryComplete

type DiaryComplete struct {
	Name        string
	Director    string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Year        string
	URL         string
	ImgURL      string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Date        string
	Rating      string
	Rewatch     string
	Tags        string
	WatchedDate string
}

DiaryComplete represents the official input data fields.

func (*DiaryComplete) BindFile

func (l *DiaryComplete) BindFile(record *[]string) error

BindFile binds the CSV values into the DiaryComplete struct.

func (*DiaryComplete) BindHTML

func (l *DiaryComplete) BindHTML(shortcode, comment *string, model string) error

BindHTML generates the Hugo shortcode for the DiaryComplete struct.

func (*DiaryComplete) FetchFromHTTP

func (l *DiaryComplete) FetchFromHTTP() error

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

type Films

type Films struct {
	Name     string
	Director string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Year     string
	URL      string
	ImgURL   string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Date     string
}

Films represents the official input data fields.

func (*Films) BindFile

func (l *Films) BindFile(record *[]string) error

BindFile binds the CSV values into the Films struct.

func (*Films) BindHTML

func (l *Films) BindHTML(shortcode, comment *string, model string) error

BindHTML generates the Hugo shortcode for the Films struct.

func (*Films) FetchFromHTTP

func (l *Films) FetchFromHTTP() error

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

type FilmsComplete

type FilmsComplete struct {
	Name     string
	Director string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Year     string
	URL      string
	ImgURL   string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Date     string
}

FilmsComplete represents the official input data fields.

func (*FilmsComplete) BindFile

func (l *FilmsComplete) BindFile(record *[]string) error

BindFile binds the CSV values into the FilmsComplete struct.

func (*FilmsComplete) BindHTML

func (l *FilmsComplete) BindHTML(shortcode, comment *string, model string) error

BindHTML generates the Hugo shortcode for the FilmsComplete struct.

func (*FilmsComplete) FetchFromHTTP

func (l *FilmsComplete) FetchFromHTTP() error

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

type Reviews

type Reviews struct {
	Name     string
	Director string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Year     string
	URL      string
	ImgURL   string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Date     string
	Rating   string
	Review   string
}

Reviews represents the official input data fields.

func (*Reviews) BindFile

func (l *Reviews) BindFile(record *[]string) error

BindFile binds the CSV values into the Reviews struct.

func (*Reviews) BindHTML

func (l *Reviews) BindHTML(shortcode, comment *string, model string) error

BindHTML generates the Hugo shortcode for the Reviews struct.

func (*Reviews) FetchFromHTTP

func (l *Reviews) FetchFromHTTP() error

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

type ReviewsComplete

type ReviewsComplete struct {
	Name        string
	Director    string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Year        string
	URL         string
	ImgURL      string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Date        string
	Rating      string
	Rewatch     string
	Review      string
	Tags        string
	WatchedDate string
}

ReviewsComplete represents the official input data fields.

func (*ReviewsComplete) BindFile

func (l *ReviewsComplete) BindFile(record *[]string) error

BindFile binds the CSV values into the ReviewsComplete struct.

func (*ReviewsComplete) BindHTML

func (l *ReviewsComplete) BindHTML(shortcode, comment *string, model string) error

BindHTML generates the Hugo shortcode for the ReviewsComplete struct.

func (*ReviewsComplete) FetchFromHTTP

func (l *ReviewsComplete) FetchFromHTTP() error

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

type Watchlist added in v0.2.0

type Watchlist struct {
	Name     string
	Director string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Year     string
	URL      string
	ImgURL   string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Date     string
}

Watchlist represents the official input data fields.

func (*Watchlist) BindFile added in v0.2.0

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

BindFile binds the CSV values into the Watchlist struct.

func (*Watchlist) BindHTML added in v0.2.0

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

BindHTML generates the Hugo shortcode for the Watchlist struct.

func (*Watchlist) FetchFromHTTP added in v0.2.0

func (l *Watchlist) FetchFromHTTP() error

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

type WatchlistComplete added in v0.2.0

type WatchlistComplete struct {
	Name     string
	Director string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Year     string
	URL      string
	ImgURL   string `yaml:",omitempty" json:",omitempty" toml:",omitempty" xml:",omitempty"`
	Date     string
}

WatchlistComplete represents the official input data fields.

func (*WatchlistComplete) BindFile added in v0.2.0

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

BindFile binds the CSV values into the WatchlistComplete struct.

func (*WatchlistComplete) BindHTML added in v0.2.0

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

BindHTML generates the Hugo shortcode for the WatchlistComplete struct.

func (*WatchlistComplete) FetchFromHTTP added in v0.2.0

func (l *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