jumbo-in-Jap / vimeo-go

Vimeo API library for golang

Home Page:https://developer.vimeo.com/api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CircleCI

Go Vimeo

Golang library for vimeo APIs.

Prepared

  1. Create your new vimeo app.
  2. Generate an access token
  3. Set VIMEO_TOKEN in your environment

Test

Run go test command.

Usages

Get own videos

vimeo.SetTokenFromEnv()
cli := vimeo.VideoClient{}

options := vimeo.ListOptions{
    Page: 2,
    Sort: vimeo.SortComments,
}
videos, err := cli.ListMyVideos(options)

fmt.Println("length: " + videos.Total)

About

Vimeo API library for golang

https://developer.vimeo.com/api

License:Other


Languages

Language:Go 100.0%