vimeo

package
v1.40.8 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: OSL-3.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse added in v1.40.8

func Parse(id string) (int64, error)

This should succeed if ID is passed, and fail is URL is passed.

Types

type Config

type Config struct {
	Request struct {
		Files struct {
			Progressive []struct {
				Height int
				URL    string
			}
		}
	}
	Video struct {
		Duration Duration
		Owner    struct {
			Name string
		}
		Title string
	}
}

func NewConfig

func NewConfig(id int64) (*Config, error)

type Duration added in v1.38.0

type Duration int64

func (Duration) String added in v1.38.0

func (d Duration) String() string

type Video

type Video struct {
	Title         string
	Upload_Date   string
	Thumbnail_URL string
}

func NewVideo added in v1.26.5

func NewVideo(id int) (*Video, error)

Jump to

Keyboard shortcuts

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