streamable-go is a Go wrapper for working with Streamable's API
Use of this library is subject to Streamable's Terms of Service
go get github.com/fgoyer/streamable-go
To initialize a streamable client:
// Streamable utilizes Basic Authentication
streamable := New(email, password)
To retrieve a video, pass the known 5 character shortcode or streamable url.
video, _ := streamable.GetVideoFromShortcode("...")
videoEmbed, _ := streamable.GetVideoFromURL("https://streamable.com/...")
To import a video, pass a url:
result, _ := streamable.Import("...")
To upload a video, pass the path:
result, _ := streamable.Upload("...")
All functionality and naming is subject to non-passive changes.
The structure of this api wrapper is heavily inspired by zmb3/spotify.