twitch_app_api 0.1.3

An UNFINISHED implementation of the Twitch App API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod twitch_app_api;

pub use crate::twitch_app_api::{
    Addon, Attachment, Author, Category, CategorySection, File, GameVersionFile, Module,
    SortableGameVersion,
};

#[cfg(test)]
mod tests {
    use super::twitch_app_api;
    use super::Addon;

    #[test]
    fn get_addon() {
        let client = twitch_app_api::build_api_ready_client().unwrap();
        tokio_test::block_on(Addon::from_id(&client, 238222)).unwrap();
    }
}