Module twitch_api_rs::resource::clips::get_clips [−][src]
Request to the Get Clips
endpoint
Example
ⓘ
let resp = match GetClipsRequest::builder() .set_auth(auth_token) .set_broadcaster_id(broadaster_id) .set_count(50) .make_request(&client) .await { Ok(resp) => resp, Err(RequestError::KnownErrorStatus(s)) => { /* ... */ } Err(e) => { /* ... */ } }; for clip in resp.clips { eprintln!("Clip found with name: {}", clip.title); }
Structs
GetClipsRequest | Request builder for the |
GetClipsResponse | Response container from the Get Clips endpoint |