Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientCountry = "US"
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
// contains filtered or unexported fields
}
func (Address) Film ¶
func (a Address) Film() (*FilmResponse, error)
type Authenticate ¶
func (Authenticate) Marshal ¶ added in v1.9.9
func (Authenticate) Marshal(code *LinkCode) ([]byte, error)
func (*Authenticate) Unmarshal ¶
func (a *Authenticate) Unmarshal(data []byte) error
func (*Authenticate) Viewing ¶
func (a *Authenticate) Viewing(film *FilmResponse) error
Mubi do this sneaky thing. you cannot download a video unless you have told the API that you are watching it. so you have to call `/v3/films/%v/viewing`, otherwise it wont let you get the MPD. if you have already viewed the video on the website that counts, but if you only use the tool it will error
type FilmResponse ¶
type SecureUrl ¶
func (SecureUrl) Marshal ¶ added in v1.9.9
func (SecureUrl) Marshal( auth *Authenticate, film *FilmResponse, ) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.