justwatch

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: OSL-3.0 Imports: 9 Imported by: 0

README

justWatch

https://play.google.com/store/apps/details?id=com.justwatch.justwatch

Create Android 6 device. Install user certificate.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var English = Locales{}/* 139 elements not displayed */

Functions

This section is empty.

Types

type Address

type Address [1]string

func (Address) Content

func (a Address) Content() (*Content, error)

func (*Address) Set

func (a *Address) Set(data string) error

func (Address) String

func (a Address) String() string

type Content added in v1.5.7

type Content struct {
	HrefLangTags []LangTag `json:"href_lang_tags"`
}

type LangTag

type LangTag struct {
	Locale string // es_AR
	Href   string // /ar/pelicula/mulholland-drive
}

func (*LangTag) Offers

func (t *LangTag) Offers(locale1 *Locale) ([]Offer, error)

type Locale added in v1.5.7

type Locale struct {
	FullLocale  string
	Country     string
	CountryName string
}

keep order

type Locales added in v1.5.7

type Locales []Locale

func (Locales) Locale added in v1.5.7

func (s Locales) Locale(tag *LangTag) (*Locale, bool)

func (*Locales) New added in v1.5.7

func (s *Locales) New(language string) error

type Offer added in v1.5.7

type Offer struct {
	ElementCount     int64
	MonetizationType string
	StandardWebUrl   WebUrl
}

`presentationType` data seems to be incorrect in some cases. For example, JustWatch reports this as SD: fetchtv.com.au/movie/details/19285 when the site itself reports as HD

func (Offer) Monetization added in v1.5.7

func (o Offer) Monetization() bool

type OfferRow added in v1.5.7

type OfferRow struct {
	Count        int64
	Country      []string
	Monetization string
	Url          string
}

type OfferRows added in v1.5.7

type OfferRows []*OfferRow

func (*OfferRows) Add added in v1.5.7

func (o *OfferRows) Add(locale1 *Locale, offer1 *Offer)

func (OfferRows) String added in v1.5.7

func (o OfferRows) String() string

type WebUrl

type WebUrl [1]string

func (*WebUrl) UnmarshalText

func (w *WebUrl) UnmarshalText(data []byte) error

Jump to

Keyboard shortcuts

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