bitreel 0.1.1

A library for getting video information from YouTube and other similar sites.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod youtube;

use error::Result;
use std::error;
use std::result;
use video::Video;

pub use client::youtube::YoutubeClient;

pub trait Client {
    type Video: Video;
    fn query(&self, identifier: &str) -> Result<Self::Video>;
}

pub trait ClientConnector {
    type Err: error::Error + 'static;
    fn download_string(&self, uri: &str) -> result::Result<String, Self::Err>;
}