midas/sdk/vimeo
Types
pub type App {
App(client_id: String, redirect_uri: String)
}
Constructors
-
App(client_id: String, redirect_uri: String)
Functions
pub fn auth_redirect(
redirect: Uri,
) -> Result(#(String, String, String), String)
pub fn authenticate(
app: App,
scopes: List(String),
) -> Effect(String)
pub fn my_videos_request(token: String) -> Request(BitArray)
pub fn my_videos_response(
response: Response(BitArray),
) -> Result(List(Video), Snag)
pub fn video_decoder(
data: Dynamic,
) -> Result(Video, List(DecodeError))