Golang library for vimeo APIs.
- Create your new vimeo app.
- Generate an access token
- Set VIMEO_TOKEN in your environment
Run go test
command.
vimeo.SetTokenFromEnv()
cli := vimeo.VideoClient{}
options := vimeo.ListOptions{
Page: 2,
Sort: vimeo.SortComments,
}
videos, err := cli.ListMyVideos(options)
fmt.Println("length: " + videos.Total)